5
votes

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

1
Duplicate of stackoverflow.com/questions/18737186/… which has a great answerJohn Ballinger

1 Answers

2
votes

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