Dimensions and name of the launch image for iPhone application in iOS8

What are the sizes / names of startup images used for the iPhone app in iOS ?

+6
source share
4 answers

Size Agreements

iPhone3g: 320 x 480

iPhone4 / 4s: 640 x 960

iPhone5 / 5s: 640 x 1136

iPhone6: 750 x 1334

iPhone 6plus: 1242 x 2208

Naming conventions

For developers who do not want to use Asset Catalogs, they need to specify specific names for launching the images.

iPhone3g: 'Default.png'

iPhone4 / 4s: ' Default@2x.png '

iPhone5 / 5s: ' Default-568h@2x.png '

iPhone6: ' Default-667h@2x.png '

iPhone6plus: ' Default-736h@3x.png '

For developers who will use Asset Catalogs, they don’t need to specify specific names for launching images.

Go to ProjectSetting -> General-> Under 'App Icons and Launch Images', select "Use Asset Catalog" for "Launch Image Source" and drag and drop startup images for your OS to create version / orientation

+33
source

If you use images.xcassets , you don’t need to worry about named conventions or explicitly add these images to your project resource. Just drag the corresponding image into the corresponding field and Xcode will do the rest.

And for image sizes, please refer to the Apple iOS Human Interface Guide

enter image description here

+7
source

For iPhone 6:

- 750 x 1334 (@ 2x) for portraiture

- 1334 x 750 (@ 2x) for landscape

For iPhone 6 Plus:

- 1242 x 2208 (@ 3x) for portraiture

- 2208 x 1242 (@ 3x) for landscape

+1
source

Alternatively, you can use the use of a startup storyboard or xib instead. To do this, you only need to adapt to all sizes.

Note. This only works for iOS 8. If you use this in an application that is also designed for iOS 7, it will use standard startup images when running on iOS 7 devices, but of course you only need 3.5 and 4 inches, since the new ones larger iPhones do not support iOS 7!

See Apple docs for more details.

0
source

Source: https://habr.com/ru/post/977760/


All Articles