[Solved] StatusBar bug in iOS7? [duplicate]


You need to read the document “iOS 7 UI Transition Guide”. The simplest way to not let the status bar overlap the content of your view is to have a 20px high view sitting at the top of the view. That way your content won’t move behind the statusbar. That being said, if you are using the UINavigationController as your “TitleBar”, you shouldn’t even need to add the 20px view, as the navigationcontroller takes care of it for you. All of this is in the “iOS 7 UI Transition Guide”.

EDIT. For your information (or for anyone else who’s struggling with this) I highly recommend looking at the “Customizing Your App’s Appearance for iOS 7” video from WWDC 2013. It is so comprehensive that it will pretty much solve all your iOS 7 UI problems.

4

solved StatusBar bug in iOS7? [duplicate]