It is important to note as well that the system status bar no longer has any background color. The appearance (light or default) does not affect how the status bar is laid out (frame/height/overlap). The status bar will always overlap your application on iOS 7ĭo not confuse status bar appearance with status bar layout. There is no way to preserve the iOS 6 style status bar layout.
This is cross-posted from a blog post I wrote, but here is the full rundown on status bars, navigation bars, and container view controllers on iOS 7: In didFinishLaunchingWithOptions method, but that's a workaround, a shortcut avoiding the problem, so I don't consider that a real solution. I know I can hide the status bar by doing things like having setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone] I'll really be glad if someone can provide me an one-liner solution for this. I know a more straightforward solution is to have + 20 points for every single view controller, but changing them will screw other dimensions up (having a different can cause problem to custom segues, etc.) and suddenly it turns into a tedious job that is best to be avoided. Is there a simple solution (such as setting a property in ist) that can change the way it works back to how it is in iOS6?
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. In iOS 7 the UIStatusBar has been designed in a way that it merges with the view like this: