I am developing the app which supporst landscape and portrait both modes ,my launch screen has landscape orientation before ios 9 it was ok but ios 9 launch screen is getting launched in portrait mode
i had same problem and i solved it finally.
First, remove the key "Supported interface orientations" from info.plist.
And then add key "Initial interface orientation" to info.plist. Set the key value as "Landscape (right home button)".
Finally, add to your appDelegate.mm.
-(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
return UIInterfaceOrientationMaskAll;
}
I guess, that's because you haven't provided the appropriate launch image for landscape orientation. This might be helpful: https://stackoverflow.com/a/32642194/2799410
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