iosxcodexcassetlaunchimage

iOS: Launch Image for all devices, include iPad Pro


I followed the guidelines on making the static launch screen images.

enter image description here

Yet, then I added the images to the xcassets as LaunchImage

However, they did not fill in the asset as expected. There are warnings warn about I need to have screen sizes such as 2208x1242, etc. Where I can have all the sizes needed for an App?

enter image description here

Also, why there is no iPad Pro launch images? How can I add it? Thanks.


Solution

  • If you drag an image into the launch image asset catalog, it will warn you that it's not the right dimensions, and will tell you what the dimensions should be. From that you can conclude:

    iPhone Portrait iOS 5,6@1x: 320x480
    iPhone Portrait iOS 5,6@2x: 640x960
    iPhone Portrait iOS 5,6@Retina 4: 640x1136
    
    iPad Portrait Without Status Bar iOS 5,6@1x: 768x1004
    iPad Portrait Without Status Bar iOS 5,6@2x: 1536x2008
    
    iPad Portrait iOS 5,6@1x: 768x1024
    iPad Portrait iOS 5,6@2x: 1536x2048
    
    iPad Landscape Without Status Bar iOS 5,6@1x: 1024x748
    iPad Landscape Without Status Bar iOS 5,6@2x: 2048x1496
    
    iPad Landscape iOS 5,6@1x: 1024x768
    iPad Landscape iOS 5,6@2x: 2048x1536
    
    iPhone Portrait iOS 8,9@Retina HD 5.5: 1242x2208
    iPhone Portrait iOS 8,9@Retina HD 4.7: 750x1334
    
    iPhone Landscape iOS 8,9@Retina HD 5.5: 2208x1242
    
    12.9-inch iPad Pro Portrait: 2048x2732
    12.9-inch iPad Pro Landscape: 2732x2048
    
    iPhone Portrait iOS 7-9@2x: 640x960
    iPhone Portrait iOS 7-9@Retina 4: 640x1136
    
    iPad Portrait iOS 7-9@1x: 768x1024
    iPad Portrait iOS 7-9@2x: 1536x2048
    
    iPad Landscape iOS 7-9@1x: 1024x768
    iPad Landscape iOS 7-9@2x: 2048x1536
    
    iPhone X Portrait iOS 11+: 1125×2436
    iPhone X Landscape iOS 11+: 2436x1125
    

    Note, it wouldn't give me the dimensions for the 12" iPad, so I got that from the iOS Human Interface Guidelines - Launch Screen which you included in your question.