IOS launch images – driving me crazy

Where can I find a complete list tells me what file name (?) and image file size I should use for:

  • retina hd 5.5 portrait ios 8,9
  • retinia hd 5.5 portrait ios 8,9
  • retinia hd 5.5 landscape ios 8,9
  • iphone portrait ios 2x 7-9
  • iphone portrait ios retina 4 7-9
  • ipad portrait ios 1x 7-9
  • ipad portrait ios 2x 7-9
  • ipad landscape ios 1x 7-9
  • ipad landscape ios 2x 7-9

As I intend to use swift I can only suppose ios7+ that means i can ognore all he oher sizes for ios5+6, right?

  • How can I remove all nil elements in a Swift array?
  • iphone - didSelectRowAtIndexPath: only being called after long press on custom cell
  • Can't programmatically set NSLayoutConstraint multiplier in swift… "Cannot assign to the result of this expression
  • Make UITextField which has a static and attributed prefix
  • XCode 6 and Ad-Hoc distribution without XC: provisioning
  • Invalid Code Signing Entitlements
  • This leaves the LaunchScreen.storyboard which seems to be a requirement for ios9 in some cases… What is the best way to simply have it load/show the correct background launch image?

    5 Solutions Collect From Internet About “IOS launch images – driving me crazy”

    I use a LaunchImage set. Click Images.xcassets from the files list. In the next column to the right, you may need to use the “+” button to add AppIcon and LaunchImages image sets. These will have slots for every supported (expected) screen size. If you use these sets, you don’t have to worry about encrypting your image files with Apple’s indecipherable naming scheme, you just drag each image file to the corresponding slot in the set.

    Of course, one still has to know the actual dimensions associated with 1x, 2x, retina4, Retina 4.7, Retina 5.5, etc. I’d certainly prefer Xcode to just show the required dimensions of each image, but it doesn’t. Barring that, I’d love a single table from Apple listing all the expected dimensions, but that doesn’t seem to exist, either. It looks like Apple has, thankfully, consolidated all of this information in the https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/ under the “Graphics” section. Specifically, as of this writing for devices supported on IOS10:

    Device                          Portrait size       Landscape size
    iPhone 6s Plus, iPhone 6 Plus   1080px by 1920px    1920px by 1080px
    iPhone 6s, iPhone 6             750px by 1334px     1334px by 750px
    iPhone SE                       640px by 1136px     1136px by 640px
    12.9-inch iPad Pro              2048px by 2732px    2732px by 2048px
    9.7-inch iPad Pro, iPad Air 2, 
         iPad mini 4, iPad mini 2   1536px by 2048px    2048px by 1536px
    

    For anyone finding this now i’ve created a list to simply explain what each of Apple’s somewhat confusing names actually mean.


    iPhone Portrait iOS 8,9


    iPhone Landscape iOS 8,9


    iPhone Portrait iOS 7-9


    iPhone Portrait iOS 5,6

    Although not pretty I use this quick way

    1. Create a new LaunchImage and drop any file onto each box
    2. Build it , it will fail or have some warnings
    3. Click on the "Show Report navigator" and you'll see the sizes/names for each
    4. On your image editor resize the image to the proper sizes/names and overwrite to
    the respective file as reported in 3. each file is on 
    <proj dir>/Assets.xcassets/LaunchImage.launchImage  
    

    Do the same for icons and don’t look back

    As with the other answers I use an Asset Catalog and simply drop files into the LaunchImage slots in the Asset Catalog in Xcode. Then I find my app in the Products Group of the Xcode Navigator (tall pane on the left) and Show in Finder. Any copy of your app package will do. Then I Show Package Contents on my app and all the LaunchImage*.png files are there. I just added a portrait launch image for the iPhone X. To see the names and sizes of the immages I navigated to the package in Terminal and ran the file command on the LaunchImage*.png files.

    % file LaunchImage*.png
    LaunchImage-1100-2436h@3x.png:         PNG image data, 1125 x 2436, 8-bit/color RGB, non-interlaced
    LaunchImage-700-568h@2x.png:           PNG image data, 640 x 1136, 8-bit/color RGB, non-interlaced
    LaunchImage-700-Landscape@2x~ipad.png: PNG image data, 2048 x 1536, 8-bit/color RGB, non-interlaced
    LaunchImage-700-Landscape~ipad.png:    PNG image data, 1024 x 768, 8-bit/color RGB, non-interlaced
    LaunchImage-700-Portrait@2x~ipad.png:  PNG image data, 1536 x 2048, 8-bit/color RGB, non-interlaced
    LaunchImage-700-Portrait~ipad.png:     PNG image data, 768 x 1024, 8-bit/color RGB, non-interlaced
    LaunchImage-700@2x.png:                PNG image data, 640 x 960, 8-bit/color RGB, non-interlaced
    LaunchImage-800-667h@2x.png:           PNG image data, 750 x 1334, 8-bit/color RGB, non-interlaced
    LaunchImage-800-Portrait-736h@3x.png:  PNG image data, 1242 x 2208, 8-bit/color RGB, non-interlaced
    

    I was dealing with a similar issue to adapt to new iPhone X new screen size and came across this link

    It helped me, maybe it will help someone else

    enter image description here