title: Navigation Bar jumping when presenting view controller via UIPresentationController subclass
body: <p>I'm building an iOS 8 app and using UIPresentationController to present a view controller in a custom way. (see my previous question about this here: <a href="https://stackoverflow.com/questions/29017403/replicating-the-style-of-the-ios-mail-apps-compose-function">Replicating the style of the iOS Mail App&#39;s Compose Function</a>).</p>
  
  <p>The issue I'm having is that when I present the controller, the navigation bar starts off as 64 points tall and then jumps/shrinks back to 44 once its presentation is finished. My guess is that the view controller realizes it is not covering the status bar and so it shrinks itself down once it comes to its final resting position. I'd like for the navigation bar to be 44 points tall the entire time and not jump/shrink.</p>
  
  <p>The image below is what the view controller looks like at the end of the presentation. It is also what I want it to look like the entire time. Any thoughts on how to keep the navigation bar at 44 points the entire time? </p>
  
  <p><img src="https://i.stack.imgur.com/kNglw.png" alt="enter image description here"></p>
  
  <p>UPDATE (3/24/2015):</p>
  
  <p>I referenced a blog post from a while back to find some more information on this issue. Basically, UINavigationController draws its navigation bar either 64 or 44 points tall depending on if its view's frame is matched up with the app's window or not. So I need some way of telling the navigation controller that its final resting position will not be lined up with the window, and that the nav bar should be drawn 44 points tall.</p>
  
  <p><a href="http://blog.jaredsinclair.com/post/61507315630/wrestling-with-status-bars-and-navigation-bars-on" rel="nofollow noreferrer">http://blog.jaredsinclair.com/post/61507315630/wrestling-with-status-bars-and-navigation-bars-on</a></p>