I'm testing our app with the iOS 9 GM and i'm not seeing supportedInterfaceOrientationsForWindow called at all in my AppDelegate.
I'm expecting this delegate function to be called when the app is rotated:
- (UIInterfaceOrientationMask) application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
This worked fine in iOS 7/8. Is anyone else seeing this or have any ideas on what might be going on?
You need to check the box "Requires full screen" in the General Targets setting - then it works here.
I guess the background is, that Apple wants us to provide all orientations, plus that these all work with iOS 9 split-screen, slide over etc.
See their documentation here
Look for "Characterize Your App and Scope Your Work":
Adopt Slide Over and Split View unless you have a specific reason not to. From a customer’s perspective, an iOS 9 app that doesn’t adopt Slide Over and Split View feels out of place.
Consider opting out only if your app falls into one of these narrow categories:
Camera-centric apps, where using the entire screen for preview and capturing a moment quickly is your primary feature Full-device apps, such as games that use iPad sensors as part of their core gameplay
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