title: iOS7 Status Bar over Navigation Bar
body: <p>I'm testing my application with iOS7 and I have an issue with status bar. Basically the status bar appear over navigation bar like the image below:</p>
  
  <p><img src="https://i.stack.imgur.com/XHVyp.png" alt="iOS7 Status Bar Issue"></p>
  
  <p>I try to call in my <code>viewDidLoad</code></p>
  
  <pre><code> self.edgesForExtendedLayout = UIRectEdgeNone;
   self.automaticallyAdjustsScrollViewInsets = YES;
  </code></pre>
  
  <p>without success.</p>
  
  <p>I have also added to the <code>info.plist</code> file <code>UIViewControllerBasedStatusBarAppearance</code> with no luck.</p>
  
  <p>The main problem is that the application must be compatible with iOS6 and iOS7 and currently on iOS7 the view shifted 20px from the top.</p>