iOS Launch images

While the application is starting up, iOS shows a launch image that is visible until all the initial setup code is ready (i.e. your first line of AS3 code is being executed).

For each iOS resolution you are supporting, you need a PNG with a specific name and size. The following small Ruby script can be used to generate empty images with the correct size and filename. (You need to have the ImageMagick tool convert installed.)

Note that you typically only need portrait XOR landscape (just one of them), depending on your app's orientation. If your app supports both orientations, of course, you should provide both variants.

#!/usr/bin/env ruby
launch_sizes = {
  "Default~iphone" => "320x480",                          # iPhone 3GS
  "Default@2x~iphone" => "640x960",                       # iPhone 4
  "Default-568h@2x~iphone" => "640x1136",                 # iPhone 5, SE
  "Default-375w-667h@2x~iphone" => "750x1334",            # iPhone 6, 7, 8
  "Default-414w-736h@3x~iphone" => "1242x2208",           # iPhone 6+, 7+, 8+
  "Default-812h@3x~iphone" => "1125x2436",                # iPhone X, Xs
  "Default-828h@2x~iphone" => "828x1792",                 # iPhone Xr
  "Default-1242h@3x~iphone" => "1242x2688",               # iPhone Xs Max
  "Default-Portrait~ipad" => "768x1024",                  # iPad
  "Default-Portrait@2x~ipad" => "1536x2048",              # iPad Air
  "Default-Portrait-834w-1112h@2x~ipad"  => "1668x2224",  # iPad Pro 10.5"
  "Default-Portrait-1024w-1366h@2x~ipad" => "2048x2732",  # iPad Pro 12"
  "Default-Landscape-414w-736h@3x~iphone" => "2208x1242", # iPhone 6+ Landscape
  "Default-Landscape-812h@3x~iphone" => "2436x1125",      # iPhone X, Xs Landscape
  "Default-Landscape-828h@2x~iphone" => "1792x828",       # iPhone Xr Landscape
  "Default-Landscape-1242h@3x~iphone" => "2688x1242",     # iPhone Xs Max Landscape
  "Default-Landscape~ipad" => "1024x768",                 # iPad Landscape
  "Default-Landscape@2x~ipad" => "2048x1536",             # iPad Air Landscape
  "Default-Landscape-834w-1112h@2x~ipad"  => "2224x1668", # iPad Pro 10.5" Landscape
  "Default-Landscape-1024w-1366h@2x~ipad" => "2732x2048"  # iPad Pro 12"   Landscape
launch_sizes.each do |name, size|
  `convert -size #{size} xc:#FBF139 #{name}.png`
Note that the iPad Pro needs both “Portrait” and “Landscape” versions of the file, even if the app only supports one orientation. I couldn't get it to recognize the correct resolution if I used just one of the two.
Edit the “xc:…” part to use a custom color.

More information can be found in this Adobe document. However, it does not cover all the new devices. Another recent list is this one in the Adobe AIR Forum and this one in the Starling forum.

If you find an error in above's list, please edit this wiki document accordingly!

  manual/ios_launch_images.txt · Last modified: 2018/10/01 13:39 by daniel
Powered by DokuWiki