When developing your first app for the iPhone or iPad, you’ll have to provide the app with a default launch screen image. It’s the logo or loading message you would see during any app startup. That startup image is named “Default.png” so by default the devise will automatically display that image during an app startup.
This is not ideal if you’re developing an app with multiple orientations. There are other options. Here are a few recommendations:
Filename | Dimensions |
---|---|
Default-Portrait.png * | 768w x 1004h |
Default-PortraitUpsideDown.png | 768w x 1004h |
Default-Landscape.png ** | 1024w x 748h |
Default-LandscapeLeft.png | 1024w x 748h |
Default-LandscapeRight.png | 1024w x 748h |
Default.png | Not recommended |
You’ll notice the dimensions above vary in size depending on what orientation the divise is positioned. The deference is 20px taken off the top for displaying the status bar. You can keep your screen image the full 1024×768 for portrait and landscape if your in a hurry. The OS will trim off the extra 20px on top for you.
There is a known issue for some where, although you have provided both landscape and portrait images, only one will load no matter the orientation. You may want to open your app .ipa file package in a text editor like TextWrangler and locate the “info.plist” file. Once you have it open, cut and paste in the following attributes.
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>