Default.png for iphone, Default4.png for iPhone 4 (or is it [email protected]?), and Default-iPad.png. Is that correct?
Default.png and [email protected] and Default-iPad.png (not 100% sure on this one)
if you specify your own name like MyLaunchImage.png, the iPad specific version would be MyLaunchImage~ipad.png. Although you could include a MyLaunchImage~iphone.png image for the iPhone specific version (and a MyLaunchImage@2x~iphone.png for the high-resolution variant)
taken from apple documentation
Here's the list of default launch image file names as of iOS 6:
- Default.png (iPhone)
- [email protected] (iPhone Retina 3.5 inch)
- [email protected] (iPhone Retina 4 inch)
- Default-Portrait.png (iPad in portrait orientation)
- [email protected] (iPad Retina in portrait orientation)
- Default-Landscape.png (iPad in landscape orientation)
- [email protected] (iPad Retina in landscape orientation)
You can set the key UILaunchImageFile
in your info.plist
to override Default
in all of the file names above. For example, if you specify the value LaunchImage
in this key, then the launch image for a standard resolution iPhone would be LaunchImage.png
.
Additionally, if you want to provide separate launch images for iPad apps that are flipped 180-degrees from the standard, you can substitute the following modifiers in place of -Portrait
and -Landscape
:
- -Portrait (home button down)
- -PortraitUpsideDown (home button on top)
- -LandscapeLeft (home button on left side)
- -LandscapeRight (home button on right side)
~ipad
and ~iphone
. So a launch image for portrait retina iPad should actually be named as Default-Portrait@2x~ipad.png
. –
Gentle I adjusted Rob/Lando's answer with the latest iPhone 6 and iPhone 6 Plus resolutions.
- Default.png (iPhone)
- [email protected] (iPhone Retina 3.5 inch)
- [email protected] (iPhone 6 Plus landscape)
- [email protected] (iPhone Retina 4 inch)
- [email protected] (iPhone 6 portrait)
- [email protected] (iPhone 6 Plus portrait)
- Default-Portrait.png (iPad in portrait orientation)
- [email protected] (iPad Retina in portrait orientation)
- [email protected] (iPhone 6 Plus portrait)
- Default-Landscape.png (iPad in landscape orientation)
- [email protected] (iPad Retina in landscape orientation)
[email protected] (iPhone 6 Plus landscape)
. –
Scissors I've just found a handy table with all the filenames for the Default launch image, I've posted it here to save some time in the future instead of looking for something similar or waste time browsing my endless list of bookmarks.
Default.png and [email protected] and Default-iPad.png (not 100% sure on this one)
if you specify your own name like MyLaunchImage.png, the iPad specific version would be MyLaunchImage~ipad.png. Although you could include a MyLaunchImage~iphone.png image for the iPhone specific version (and a MyLaunchImage@2x~iphone.png for the high-resolution variant)
taken from apple documentation
I inspected the files in the main bundle (iOS 9 using LaunchImage in image assets) and this is what I see:
[
'[email protected]',
'[email protected]',
'LaunchImage-700-Landscape@2x~ipad.png',
'LaunchImage-700-Landscape~ipad.png',
'LaunchImage-700-Portrait@2x~ipad.png',
'LaunchImage-700-Portrait~ipad.png',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'LaunchImage-Landscape@2x~ipad.png',
'LaunchImage-Landscape~ipad.png',
'LaunchImage-Portrait@2x~ipad.png',
'LaunchImage-Portrait~ipad.png',
'LaunchImage.png',
'[email protected]'
]
© 2022 - 2024 — McMap. All rights reserved.