Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone X full screen issue [duplicate]

Today I've installed Xcode 9 and build my app for iPhone x. but the upper and bottom area showing black like the scenarios we met couple of years ago for iPhone 5 when screen switched to 3.5 to 4.

How simply we can fix this problem?

enter image description here

like image 369
Sunil Targe Avatar asked Sep 13 '17 07:09

Sunil Targe


People also ask

Why is my iPhone screen doubled?

(1) Try and Force Restart your iPhone EXACTLY as shown below and see whether that resolves the issue: Press and quickly release Volume UP button. Press and quickly release Volume DOWN button. Press and Hold the SIDE button until an Apple logo appears and then release the Side button (Can take up to 20 seconds.

Why is my iPhone stuck on the same screen?

Force restart your iPhone Quickly press and release the volume up button. Quickly press and release the volume down button, then press and hold the side button. When the Apple logo® appears, release the side button.


1 Answers

You should use a safe area.

For apps with custom layouts, supporting iPhone X should also be relatively easy, especially if your app uses Auto Layout and adheres to safe area and margin layout guides.

Read more: https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/

I am also same issue. I used safe area Layout also. But above solution not support for me . I got solution from below link.

https://www.bignerdranch.com/blog/get-your-apps-ready-for-iphone-x/

This below point helped for me to resolve that solution.

Ensure your app uses a Launch Screen storyboard (not Launch images).

like image 123
Vlad Khambir Avatar answered Oct 22 '22 10:10

Vlad Khambir