Show Alerts in Landscape Mode
To fix this, all you need to do is add the following line of code – I placed this in the applicationDidFinishLaunching method:
// Required so UIAlertView shows in the correct orientation in landscape mode
[application setStatusBarOrientation:
UIInterfaceOrientationLandscapeRight animated:NO];
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.