title: iOS 7 - Status bar overlaps the view
body: <p>I have a <code>ViewController</code> which is inside a <code>UINavigationcontroller</code>, but the navigationBar is hidden. When I run the app on iOS 7, the status bar shows on top of my view. Is there a way to avoid this?</p>
  
  <p>I don't want to write any OS specific code.</p>
  
  <p><img src="https://i.stack.imgur.com/IxX45.png" alt="Enter image description here"></p>
  
  <p>I tried setting <code>View controller-based status bar appearance</code> to <code>NO</code>, but it did not fix the issue.</p>