title: iOS 7 status bar back to iOS 6 default style in iPhone app?
body: <p>In iOS 7 the <code>UIStatusBar</code> has been designed in a way that it merges with the view like this:</p>
  
  <p><img src="https://i.stack.imgur.com/rfo0Q.png" alt="GUI designed by Tina Tavčar">
  (GUI designed by <a href="http://dribbble.com/shots/1183911-Side-menu-and-status-bar-in-iOS7">Tina Tavčar</a>)</p>
  
  <ul>
  <li><p>It is cool, but it will somewhat mess up your view when you have something at the top part of your view, and it becomes overlapped with the status bar.</p></li>
  <li><p>Is there a simple solution (such as setting a property in info.plist) that can change the way it works [not overlapping] back to how it is in iOS6? </p></li>
  <li><p>I know a more straightforward solution is to have <code>self.view.center.x</code> + 20 points for every single view controller, but changing them will screw other dimensions up (having a different <code>self.view.center.x</code> can cause problem to custom segues, etc.) and suddenly it turns into a tedious job that is best to be avoided. </p></li>
  <li><p>I'll really be glad if someone can provide me an one-liner solution for this.</p></li>
  </ul>
  
  <p>P.S. I know I can hide the status bar by doing things like having</p>
  
  <pre><code>[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
  </code></pre>
  
  <p>In <code>didFinishLaunchingWithOptions</code> method, but that's a workaround, a shortcut avoiding the problem, so I don't consider that a real solution.</p>