My application is configured to support landscape only orientation (iPad): in my .plis I set the supported interface orientation to Landscape (left && right) in my project, I checked only the two orientations mentioned above in my main view controller I installed
- (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; } -(bool)shouldAutorotate { return YES; }
After starting the application, he always flings animation of rotation from portrait to landscape. This is the first thing I see, rotation from the landscape, and after that everything looks great. This is the same on the device and on the simulator. If I check "switch slow animation" in the simulator options, I can clearly see that the interface changes orientation from the portrait during startup.
I do not use a screensaver (if that matters)
No matter what I do, I tilt the seam to get rid of this behavior, and it looks pretty annoying. Has anyone seen this behavior, and please, someone has some advice. Thanks in advance.
objective-c xcode ios7
AntonijoDev
source share