2

I'm confused about Launch Images. I have to fill out the Launch Images in the xcassets file and I see this:

enter image description here

But I can't find any documentation which lists the sizes needed for any of these images. Apples documentation only specifies 5 different sizes while this grid is asking for 8. Also, it only defines sizes by the model of the phone, while this grid uses iOS versions and Retina display sizes.

Where can I find the sizing specifications for the 8 items in this grid?

Cbas
  • 6,003
  • 11
  • 56
  • 87
  • 1
    I think that these days you are better off using a storyboard. I think that's the preferred method now. – Columbo May 17 '16 at 20:04
  • I don't use storyboards. Can't stand it when a checkbox buried in some constantly changing UI is overriding my code. Makes it a nightmere to collaborate and maintain a project – Cbas May 17 '16 at 20:05
  • 3
    If you select them it will say the expected size at the bottom of the attributes inspector – dan May 17 '16 at 20:09
  • @dan thank you! found it. Example B of why I don't like using xcode's UI builders lol – Cbas May 17 '16 at 20:18
  • If you do not use storyboards for the main interface of your app, you can still choose to use a storyboard just for launch images. – Mike Mertsock May 17 '16 at 20:35
  • oh yea I have one for iPhone 6 as specified in the docs, but iPhone 5 needs the xcassets http://stackoverflow.com/questions/21668497/uiscreen-mainscreen-bounds-returning-wrong-size – Cbas May 17 '16 at 20:38
  • Possible duplicate of [Incorrect launch image size](http://stackoverflow.com/a/30445425/2108547) – Daniel Storm May 17 '16 at 21:00
  • Possible duplicate of [Incorrect launch image size](http://stackoverflow.com/questions/30445171/incorrect-launch-image-size) – NobodyNada May 18 '16 at 01:29

1 Answers1

1

I found 2 resources for finding the image size

  1. apple documents
  2. stack overflow

it knows which resource to use based on your phone.

Retina HD 5.5 = iPhone 6+ (which only had iOS 8 or 9)

Retina HD 4.7 = iPhone 6 (which only had iOS 8 or 9)

Retina HD 4 = iPhone 5 (which only had iOS 7 - 9)

Community
  • 1
  • 1
Daniel
  • 22
  • 4
  • The first link doesn't answer anything about size specs. The second one would've helped me but I didn't think to expand my search beyond Launch Images. Good to link up answers to similar questions. Thanks for the additional info – Cbas May 17 '16 at 20:42
  • the launch screen image is any size, the uiView is a pretty generic uiVIew that can support anything it just needs your size class restraints – Daniel May 17 '16 at 20:46
  • doesn't support iPhone 5 though http://stackoverflow.com/questions/21668497/uiscreen-mainscreen-bounds-returning-wrong-size – Cbas May 17 '16 at 20:48