It is recommended that you use the following format for launch image filenames:
<basename> <usage_specific_modifiers> <scale_modifier> <device_modifier> .png
The <basename> portion of the filename is either the string Default or a custom string that you specify usingthe UILaunchImageFile key in your app’s Info.plist file. The <scale_modifier> portion is the optionalstring @2x and should be included only for images intended for use on Retina displays.
Table 5-4 Typical launch image dimensions
Device |
Portrait |
Landscape |
iPhone and iPod touch |
320 x 480 pixels |
Not supported |
iPhone 5 and iPod touch (5th generation) |
640 x 1136 pixels (@2x) |
Not supported |
iPad |
768 x 1024 pixels |
1024 x 768 pixels |
To specify default launch images for iPhone 5 and iPod touch (5th generation) devices, include the modifier string -568h immediately after the <basename> portion of the filename. Because these devices have Retina displays, the @2x modifier must always be included with launch images for the devices. For example, the default launch image name for a device is Default-568h@2x.png.
The -568h modifier should always be the first one in the list. You can also insert other modifiers after the -568h string as described below.
Providing Launch Images for Different Orientations
<basename> <orientation_modifier> <scale_modifier> <device_modifier> .png
Table 5-5 Launch image orientation modifiers
Modifier |
Description |
-PortraitUpsideDown
|
Specifies an upside-down portrait version of the launch image. A file withthis modifier takes precedence over a file with the -Portrait modifierfor this specific orientation. |
-LandscapeLeft
|
Specifies a left-oriented landscape version of the launch image. A file withthis modifier takes precedence over a file with the -Landscape modifierfor this specific orientation. |
-LandscapeRight
|
Specifies a right-oriented landscape version of the launch image. A filewith this modifier takes precedence over a file with the -Landscapemodifier for this specific orientation. |
-Portrait |
Specifies the generic portrait version of the launch image. This image isused for right-side up portrait orientations and takes precedence over theDefault.png image file (or your custom-named replacement for thatfile). If a file with the -PortraitUpsideDown modifier is not specified,this file is also used for upside-down portrait orientations as well. |
Modifier |
Description |
-Landscape |
Specifies the generic landscape version of the launch image. If a file withthe -LandscapeLeft or -LandscapeRight modifier is not specified,this image is used instead. This image takes precedence over theDefault.png image file (or your custom-named replacement for thatfile). |
(none) |
If you provide a launch image file with no orientation modifier, that fileis used when no other orientation-specific launch image is available. Forapps running on systems earlier than iOS 3.2, you must name this fileDefault.png. |
MyLaunchImage-Landscape.png
Default-Portrait.png
Providing Device-Specific Launch Images
~ipad. The launch image should be loaded on iPad devices only.
~iphone. The launch image should be loaded on iPhone or iPod touch devices only.
Default~iphone.png
Providing Launch Images for Custom URL Schemes
<basename> -<url_scheme> <scale_modifier> <device_modifier> .png
The <url_scheme> modifier is a string representing the name of your URL scheme name. For example, if yourapp supports a URL scheme with the name myscheme, the system looks for an image with the nameDefault-myscheme.png (or Default-myscheme@2x.png for Retina displays) in the app’s bundle.
<basename> -<url_scheme> <orientation_modifier> <scale_modifier> <device_modifier> .png