I am trying to set a background image for my application, which will scale to fit 4, 4.7 and 5.5 inch screens.
- I work in Xcode 6 at a speed
- I created a 640 x 1136 image and pasted the @ 1x, @ 2x and @ 3x images into the images.xcasetts folder. I chose the zoom mode for the image.
- I created UIImage in the main.storyboard file for a 4-inch screen. This image perfectly fills the screen when creating.
- I think I tried almost every combination of height / width / aspect ratio restrictions with no luck.
source share