title: Can't dismiss navigation controller in Swift
body: <p>So I have a simple navigation controller with a sign up, hit done and you go to the home page. The problem is when you go to the home page, the navigation controller follows. </p>
  
  <p><img src="https://i.stack.imgur.com/RRaN5.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/ZgZbk.jpg" alt="enter image description here"></p>
  
  <p>As you can see in the last picture (home page), the navigation bar remains. When the user presses "Done" on the first image I use <code>self.performSegueWithIdentifier("loginTrue", sender: nil)
  </code> to go to the "home page". I've tried using </p>
  
  <pre><code>self.presentingViewController?.dismissViewControllerAnimated(true, completion: nil)
  </code></pre>
  
  <p>But nothing seems to happen. So to wrap it all up, any idea on how I can "dismiss" the navigation controller from the "home page"? Thanks!</p>