title: Status bar hiding when landscape-only view controller is presented over portrait-only view controller
body: <p>I have a navigation controller holding a view controller that only supports the portrait orientation:</p>
  
  <p><a href="https://i.stack.imgur.com/nMDNJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nMDNJ.png" alt="enter image description here"></a></p>
  
  <p>This presents a full-screen view controller that only supports landscape: </p>
  
  <p><a href="https://i.stack.imgur.com/HR1Vi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HR1Vi.png" alt="enter image description here"></a></p>
  
  <p>Unfortunately during the transition, the status bar on the presenting view controller is removed, which makes the content jerk up before the transition begins. I've implemented a custom fade transition to make the effect obvious:</p>
  
  <p><a href="https://i.stack.imgur.com/U41T4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U41T4.png" alt="enter image description here"></a></p>
  
  <p>Note that the status bar is not present. This is done <em>before</em> the custom transition starts, with no animation, so even if I take a snapshot before the transition begins and add it to the container view, you still see the reduced navigation bar momentarily. </p>
  
  <p>Is there a non-terrible way to fix this? I don't want to have to add the snapshot outside of the transition (like <a href="https://stackoverflow.com/questions/26035020/ios-8-presenting-a-modal-view-controller-in-portrait-causes-resize-of-the-navig">this answer</a>).</p>
  
  <p>I have tried making the presentation style custom instead of full-screen, but this doesn't leave the device in the portrait orientation. A solution using a custom presentation style which leaves the device in the landscape orientation would also be acceptable. </p>
  
  <p>There is a sample project demonstrating the problem <a href="https://github.com/jrturton/OrientationTransition" rel="nofollow noreferrer">here</a></p>