IOS Instant Snap device rotation, not animation

So, I have an application in which it is based on LandscapeRight LandscapeLeft.

The problem is that the rotation of the device on my iPad and iPhone 5s instantly rotates without animation. (iOS 9) On my old iPhone4S (iOS 7) device, the animation flip happens fine.

I tested with a stripped down version of my project, but still can't solve it.

This is how I configure my application stack:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [super applicationDidFinishLaunching:application]; self.navigationController = [[[UINavigationController alloc] init] autorelease]; [self.window setRootViewController:self.navigationController]; UIStoryboard * storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle:nil]; [self.navigationController pushViewController:[storyboard instantiateInitialViewController] animated:YES]; [self.navigationController setNavigationBarHidden:YES]; } #ifdef __IPHONE_6_0 -(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { return UIInterfaceOrientationMaskLandscape; } - (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; } #endif 

Any idea what might trigger this? I don't have overload functions for rotation commands, at least in test view controllers, and this is still happening.

Could this be a new feature of iOS 9? If so, where is the documentation? Does anyone have recent iOS 9.0 apps that rotate in the AppStore for reference?

+2
source share

All Articles