I have an app which has image asset with 3 size images @1, @2, @3 as a background image.
I implement launch screen into my project to make app seen as fullscreen on iPhone X. As you know, launch screen asset has size for iPhone X so launch screen looks okay. However, my background image doesn't look good because @3s' aspect ratio is for plus devices not iPhone X.
Where should I add a proper size image?
EDIT: My question is not about launch screen Image. It is about an background image that I use on regular ViewController
Rather than use an image as your launch screen, you should try using a launch storyboard.
This could contain a single view controller that contains a UIImageView
, with contentMode = .aspectFill
. This will clip some of the image on either side, but this might be acceptable to you.