Working on iOS app development could be frustrating at times and I found that the documentation provided by Apple to tackle launch image size wasn't clear enough to implement the Launch Image. After looking through several resources online and reading through several stackoverflow answers, I still wasn't able to completely implement the Launch Image.
Finally after multiple unsuccessful attempts I was able to get it right and this is a summary of different XCode options mapped with the image resolutions:
(Note: The naming convention is something which I followed for my app)
-
- 1x -> 320 × 480 px -> splashscrn_ios
- 2x -> 640 × 960 px -> splashscrn_ios@2x
- Retina 4 -> 640 × 1136 px -> splashscrn_ios-568h@2x
-
- 1x -> 768 × 1024 px -> splashscrn_ios-Portrait
- 2x -> 1536 × 2048 px -> splashscrn_ios-Portrait@2x
-
- 1x -> 1024 × 768 px -> splashscrn_ios-Landscape
- 2x -> 2048 × 1536 px -> splashscrn_ios-Landscape@2x
-
- Retina HD 5.5" -> 1242 × 2048 px -> splashscrn_ios-736h@3x
- Retina HD 4.7" -> 750 × 1334 px -> splashscrn_ios-667h@2x
-
- Retina HD 5.5" -> 2048 × 1242 px -> splashscrn_ios-Landscape@3x
-
- 2x -> 640 × 960 px -> splashscrn_ios@2x [Can play around with name]
- Retina 4 -> 640 × 1136 px -> splashscrn_ios-568h@2x [Can play around with name]
-
- 1x -> 768 × 1024 px -> splashscrn_ios-Portrait
- 2x -> 1536 × 2048 px -> splashscrn_ios-Portrait@2x
-
- 1x -> 1024 × 768 px -> splashscrn_ios-Landscape
- 2x -> 2048 × 1536 px -> splashscrn_ios-Landscape@2x