Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to correctly name all those Launch Images for an universal app?

Tags:

iphone

ipad

Default.png for iphone, Default4.png for iPhone 4 (or is it [email protected]?), and Default-iPad.png. Is that correct?

like image 329
Proud Member Avatar asked Sep 10 '25 02:09

Proud Member


2 Answers

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)
like image 158
Rob Johnston Avatar answered Sep 12 '25 18:09

Rob Johnston


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)
like image 23
Matthias Sala Avatar answered Sep 12 '25 17:09

Matthias Sala