Launch Image Size screen for all iOS screen sizes

I am trying to create a lunch screen image for my iOS application. But I'm not sure that he has the right size.

According to the Apple website for iPhone 6, the size should be 750 x 1334 (@ 2x) for a portrait.

But my question is: how to create an image of the launch screen that will fit all screen sizes, such as iPhone 5, 5s, 6, 6 plus, iPads, etc.

What is the right way to do this?

+4
source share
2 answers

Go to .xcassets images there you can see the size of the launch image. Just install the iOS version on the right side. iPhone iOS 8 portrait: - 1242 * 2208 (5.5 inches) 750 * 1334 (4.7 HD)

iPhone Landscape iOS 8: -2208 * 1242 (5.5inch)

iphone Portrait iOS 7.8: - 640 * 960 (@ 2x) 640 * 1136 (Retina)

Portfolio iPhone 5.6: - 320 * 480 (@x) 640 * 960 (@ 2x) 640 * 1136 (retina4)

enter image description here

+13
source

But my question is how to create a launch screen image that will fit all screen sizes such as iPhone 5, 5, 6, 6, iPad, etc.

It will be very difficult to do. The devices have different proportions, and the size difference between the iPhone 5 and iPad is large enough to use a single image for all. If you want to use the classic launch screen with a screenshot, resizing a single image will not look the same as the user interface on different devices. If you want a bitmap image to launch the image , you will need to specify all the necessary sizes.

What is the right way to do this?

You can create either launch a PNG image or launch the screen as a storyboard.

Your project has an asset catalog to run the image. Either use an existing one or add a new iOS launcher image . The editor will show you all the required sizes.

For storyboards, your application probably already has LaunchScreen.storyboard. Usually you will not create specific sizes or dimensions, but use an automatic layout that will resize the screen accordingly.

0
source

All Articles