mshwf
mshwf

Reputation: 7449

How to set a full screen size image as a launch screen in iOS?

So I need to set an image to a launch screen, it isn't just an icon with a background color, that most docs describe how to manipulate it. it is a full size image like this one. I want it to look the same on every iOS device (iPhone & iPad). But when I add new images set in assets, there are only three images to add, apparently this works perfect when using icon with a background, not a full-screen image. I tried to add the images to the launchscreen images set but it doesn't appear under the Image drop-down list in the storyboard.

EDIT

here's how the designer looks with the constraints:

enter image description here

the result on iPhone X (the image is for demonstration only):

enter image description here

The original launch screen doesn't look fit at all, given that its size is not available among the 3 images

Upvotes: 0

Views: 4771

Answers (2)

In my case it works. I had the task of placing the image in full screen.Do not forget to remove Safe Area in View.

enter image description here

Upvotes: 0

Merl
Merl

Reputation: 305

The screenshot share above don't see the X and Y constraints. This is could be of the issue. The width, Height and center constraints are provided.

Upvotes: -1

Related Questions