I have a problem with my nav bar in Swift. I move from one view controller to another like this:
let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewControllerWithIdentifier("GameViewController") as GameViewController
nextViewController.transitioningDelegate = self.transitionManager
self.presentViewController(nextViewController, animated:true, completion:nil)
But when I see my second view controller, it disappears. I can't use a segue here.
How do I add a navigation bar, with a bar button item, without a Navigation controller in Swift?
I saw this: Add a navigation bar to a view without a navigation controller