title: Navigation bar disappearing when pushed programmatically
body: <p>I've been working on an app for a while now and it pushes a view controller from the AppDelegate. When it does the navigation bar that was previously on the view controller being pushed disappears. Right now it's a static nav bar (not part of a navigation controller), but it has been previously and still didn't work. What am I doing wrong? Is there some sort of workaround?</p>
  
  <p>This is the code in the AppDelegate that I'm using to push it:</p>
  
  <pre><code>var storyboard = UIStoryboard(name: "Main", bundle: nil)
  var PostView: AnyObject! = storyboard.instantiateViewControllerWithIdentifier("NewView")
  
  var rootViewController = self.window!.rootViewController as! UINavigationController
  rootViewController.pushViewController(PostView as! UIViewController, animated: true)
  </code></pre>
  
  <p><code>pushViewController</code> is the one I'm trying to push.</p>