Setting the correct full screen image as xib startup screen

We want to support iOS 6 through iOS 8. According to my calculations, this means that we need to create ten launch images.

  • 2x3 portrait: 320x480 640x480
  • portrait 9x16: 640x1136 750x1334 1242x2208
  • 3x4 portrait: 768x1024 1536x2048
  • landscape 16x9: 2208x1242
  • landscape 4x3: 1024x768 2048x1536

I want me to be able to generate the largest image in every ratio, and that iOS will simply reduce the image for other sizes. This would save me from adding five more launch images to my application, which would save a lot of download size.

Is it possible to use the new Xcode 6 function to replace my startup images with foldaways (aka UILaunchStoryboardName) to do what I want?

It seems pretty close, but I can't figure out how to say: β€œIn 2x3 use the image X; in 9x16 use the image Y; on 3x4 use the image Z”, etc. A variety of classes do not seem to allow me to express this concept clearly. (Or are they?)

+4
source share
1 answer

... - . "" "", : 1x, 2x 3x. "" "" , iPhone, Retina 4-inch iPad . . iPhone: 1x, 2x, Retina 4 2x 3x. iPad: 1x 2x. , , . , XIB, " " " " UIImageView, , . , , , , 0, . , . AppDelegate, . var: UIWindow? ( Objective C), . , , . , .

, , - , iPhone 6. , , iPhone 4, iPhone 4, iPhone 5, iPhone 6 Plus, iPad iPad .

+1

All Articles