Categories
ios navigationbar swift viewcontroller

Swift – Present another view controller with its navigation bar

I have two ViewControllers — one with storyboard and one without. Both of those view controllers have their own Navigation Bar at the top. Now when I use self.presentViewController(editorViewController, animated: true, completion: nil) my editorViewController comes up but without its Navigation bar.

Any ideas how to fix this?