My app is set to support just landscape (iPad) orientation: in my .plis I have set supported interface orientation to Landscape (left && right) in my project I have checked just the two orientations mentioned above in my main view controller I have set
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
}
-(bool)shouldAutorotate
{
return YES;
}
After I run the app it always seams to animate rotation from portrait to landscape. That is the first thing that I see, the rotation from landscape and after that everything looks fine. It is the same on device and on simulator. If I check "toggle slow animations" in simulator option I can clearly see that the interface changes orientation from portrait during launch.
I am not using splash screen (if that matters)
No matter what I do, I cant seam to get rid of that behaviour, and it looks pretty annoying. Has anyone seen this kind of behaviour, and please does anyone have some advice. Thanks in advance.
Without seeing code and project settings, anything would just be a stab in the dark. If it's not listed in the link below, then it's likely you are overriding functionality somewhere between code, project settings, and interface builder. This link isn't iOS7 specific, but much of the functionality is the same, just some UI changes:
Launching your iPhone Application in Landscape
Also, when it comes to project settings with any long running project, if I can't get something to work relating to project settings, I always make a new clean project, get it to work in there, or by default, and then look at what that project's settings are, as I've found that UI and underlying settings files, like plists can easily get out of sync after a year or two of tweaking.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With