I 'm working on an iPad app in landscape mode only that worked nicely under iOS5 and under.
On iOS6, the 2nd screen (login screen) turns suddenly in portrait mode.
What parameters should i check?
- (BOOL)shouldAutorotate
{
return NO; // YES or NO as per your requirement
}
- (BOOL)supportedInterfaceOrientations
{
return UIInterfaceOrientationLandscapeRight|UIInterfaceOrientationLandscapeLeft;
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more