Ios 9 launch screen launches in portrait mode

I am developing an application that supports landscape and portrait in both modes, my launch screen has landscape orientation before ios 9 was normal, but the ios 9 launch screen starts in portrait mode.

+5
source share
2 answers

I had the same problem and I finally solved it.

First remove the " Supported Interface Orientation " key from info.plist .

Then add the " Interface Orientation Orientation " key to info.plist. Set the key value as " Landscape (right button of the house) .

Finally, add to your appDelegate.mm.

-(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ return UIInterfaceOrientationMaskAll; } 
+4
source

I think this is because you did not provide the appropriate launch image for landscape orientation. This might be useful: fooobar.com/questions/1233143 / ...

+1
source

Source: https://habr.com/ru/post/1233141/


All Articles