Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modal View Controller Slides Underneath Status Bar in iOS 7

When I use a modal view controller in iOS7 it slides underneath the status bar. Is there a way to stop that from happening without having to adjust the view based on what os it's running on? You can see that the Close button is pushed up underneath the Carrier text on the status bar. Is there any way to get the modal view controller to recognize my status bar?

The Close button is pressed up to close to the carrier label

like image 570
codeetcetera Avatar asked Nov 01 '22 13:11

codeetcetera


1 Answers

Have you seen this? UINavigationBar/Status Bar issue in IOS7

There are a couple of things you can try, but I think what you're looking for is here, in the iOS7 Transition Guide: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/TransitionGuide/AppearanceCustomization.html

like image 65
Cameron Avatar answered Nov 15 '22 12:11

Cameron