My game is landscape only and on both the iPad and iPhone, when I launch the game, the launch image is stretched like it's being fit into portrait mode. This only last for about 1/2 second, then it displays correctly for the rest of the time. I can't figure out how to get it to display correctly from the start. It's only a 1/2 second and then it fixes itself, so it's not a massive issue, it just looks unprofessional.
Having the device locked (or unlocked) to landscape doesn't change the behavior.
I have this Info.plist key set: UIInterfaceOrientationLandscapeRight
I have the following images and they are all in landscape (wider than tall)
[email protected]
[email protected]
[email protected]
Default-Landscape@2x~ipad.png
Default-Landscape~ipad.png
I'm not (and can't, without a lot of work) use Storyboards.
Since you don't seem to be using storyboards I can only advice you to check what interface is your app being launched at.
Ensure that you only have Landscape Left and Landscape Right under your target configuration.
(Select your project) -> Targets -> (Select your target) -> General Tab -> Deployment Info -> (there you will find Device Orientation)
Also make sure that under the Info.plist, under the key "Supported interface orientations" the "portrait" one is not included.
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