title: navigation bar shifted while coming back from movie player of iphone app
body: <p><img src="https://i.stack.imgur.com/qK8vF.png" alt="iPad Example"></p>
  
  <p>I am showing the mp4 video in iphone app using following code: </p>
  
  <pre><code>enter code here
  NSString *embedHTML = @"\
  &lt;html&gt;&lt;head&gt;\
  &lt;style type=\"text/css\"&gt;\
  body {\
  background-color: transparent;\
  color: white;\
  }\
  &lt;/style&gt;\
  &lt;/head&gt;&lt;body style=\"margin:0\"&gt;\
  &lt;embed id=\"yt\" src=\"http://www.businessfactors.de/bfcms/images/stories/videos/defaultscreenvideos.mp4\" type=\"application/x-shockwave-mp4\" \
  width=\"%0.0f\" height=\"%0.0f\"&gt;&lt;/embed&gt;\
  &lt;/body&gt;&lt;/html&gt;";
  
  webView = [[UIWebView alloc] initWithFrame:CGRectMake(0.0, 0.0, 320.0, 412.0)];
  
  [webView setOpaque:NO];
  NSString *html = [NSString stringWithFormat:embedHTML, webView.frame.size.width, webView.frame.size.height];
  [webView loadHTMLString:html baseURL:nil];
  </code></pre>
  
  <p>It works great. it also opens movieplayer for iphone app on clicking.
  But when I return from the movieplayer, it shows a white space over the navigation bar, shifting the navigation bar downwards.</p>
  
  <p>I have tried it on simulator and iphone device both.</p>
  
  <p>The navigation bar looks like this:
  <img src="https://i.stack.imgur.com/ZpyTc.png" alt="iPad example"></p>