This was a very important change on IOS 7:the status bar is no longer a separate bar. It's now something this simply gets drawn on top of the Your view controllers. In previous versions of IOS, if your app displayed the status bar the height of the view controller ' s view is reduced to Compensate-especially if it contained a navigation bar. In IOS 7, your view controllers is always supposed to fill the entire screen.
If the Your app has content near the top of the "the screen" but no navigation bar and then you had a problem on your hands, as the St ATUs Bar would draw on top of the that content. That's exactly what's happening on the Map Detail. There is three possible ways to handle this:
Move your content down by a points and make to the status bar. This was the easiest solution, but it doesn ' t work very well if your content was embedded in a scroll view or relies on a TA BLE view.
implement the Prefersstatusbarhidden method in your Uiviewcontroller subclass, and return YES to hide the status bar. The problem with this approach are a user wants to keep the status bar visible on most non-game apps.
add a navigation bar on top, either by embedding the view controller inside a navigation controller, or by adding your O WN instance of Uinavigationbar. The navigation bar would extend under the status bar. Your content would still sit under these the bars, but the navigation bar would blur it. This was the approach you'll take in this tutorial.
--------Ios_7_by_tutorials_1_1/chapter 7:transitioning to IOS 7–what ' s New with Auto Layout page.244
Status Bar in IOS7