1
votes

I have an iOS app with the following settings:

Devices: iPhone

Device orientation: Portrait

When I start on a landscape-oriented iPad, however, it shows the launch screen in landscape mode (not properly resized), and the main screen x/y coordinates get switched within viewDidLoad (although the main screen appears in portrait). This does not happen when I run it on iPhone.

Any idea how to prevent it? Thanks

1
Welcome to stack overflow :-) Please look at How to Ask and how to create a minimal reproducible example. This will help to get useful answers.JimHawkins
Thanks. I tried to be as specific as possible in my question. There is no custom programming associated with the launch screen...Alex

1 Answers

8
votes

Take a look at you app's info.plist file:

enter image description here

Change the config if need.