Adapt Xcode 7 and later applications on iPhone X

1.1k views Asked by At

I know it's early to talk about it, but I've downloaded the XCode 9 final build with support for the iPhone X.

I have a problem, all my apps I created with Xcode 7 and then updated with 8.

I still did not use the single display, but I have a storyboard for both iPhone and iPad.

My apps have the default background and are displayed correctly in the storyboard, but when I use the simulator this does not happen. I do not know if there is an entry or an option.

Can somebody give me a hand in courtesy?

Images below to better understand the problem:

enter image description here

enter image description here

2

There are 2 answers

0
name-it On BEST ANSWER

Enable launch screen storyboard or add iPhone X resolution launch image to adopt iPhone X layout.

Source: Apple Developers Docs

0
JAK On

Two ways you are fixing the above issue.

1: When you using launch images,You should add proper sized launch images like 1125px × 2436px which is a 3x image for 375pt × 812pt.(for portrait)

2: Otherwise you should move to  Launch screen storyboard file instead of individual launch images.

Please also note the following link.It would be very helpful to you.

iOS Apps Adapt to the iPhone X Screen Size

This way you can adapt app will automatically to iPhoneX device