title: navigation bar under status bar after video playback in landscape mode
body: <p>The problem:</p>
  
  <p>Navigation bar is under status bar after playing video in landscape mode.</p>
  
  <p>The application:</p>
  
  <ul>
  <li>iOS9 only.</li>
  <li>only supports portrait mode.</li>
  <li>the view controller have a web view on it, web view will open a youtube link</li>
  <li>the view controller is embedded in a navigation controller</li>
  </ul>
  
  <p>Setups to reproduce:</p>
  
  <ol>
  <li>Play a video in a webView, </li>
  <li>Put device into landscape mode.</li>
  <li>Dismiss video play in landscape mode, app goes back to portrait mode</li>
  <li>Navigation bar is in wrong position</li>
  </ol>
  
  <p>Screenshots:</p>
  
  <ol>
  <li>When app opens</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/VpRcm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VpRcm.png" alt="when app opens"></a></p>
  
  <ol start="2">
  <li>Play video and put the device in landscape</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/HCljo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HCljo.png" alt="enter image description here"></a></p>
  
  <ol start="3">
  <li>The problem:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/FkJbT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FkJbT.png" alt="enter image description here"></a> </p>