jjzjj

editorViewController

全部标签

ios - Swift - 显示另一个带有导航栏的 View Controller

我有两个ViewControllers--一个有Storyboard,一个没有。这两个ViewController在顶部都有自己的导航栏。现在,当我使用self.presentViewController(editorViewController,animated:true,completion:nil)时,我的editorViewController出现了,但没有导航栏。有什么办法解决这个问题吗? 最佳答案 我使用以下代码解决了这个问题:leteditorViewController=IMGLYMainEditorViewCont

ios - Swift - 显示另一个带有导航栏的 View Controller

我有两个ViewControllers--一个有Storyboard,一个没有。这两个ViewController在顶部都有自己的导航栏。现在,当我使用self.presentViewController(editorViewController,animated:true,completion:nil)时,我的editorViewController出现了,但没有导航栏。有什么办法解决这个问题吗? 最佳答案 我使用以下代码解决了这个问题:leteditorViewController=IMGLYMainEditorViewCont