Seeing black bars at the top and bottom of the iPhone X Simulator Seeing black bars at the top and bottom of the iPhone X Simulator ios ios

Seeing black bars at the top and bottom of the iPhone X Simulator


When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.

The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.

Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.


I have figured out this issues in iPhone X. Launch image size (1125*2436px) Please flow this below steps.1.i)Choose your project name in Xcode. ii)Select your project target iii)Then select Launch images sourceenter image description here

  1. You can get Migrate popupi) Choose Assetsii)Select Migrate

enter image description here

  1. After that select your Assets.xcassets in your projectenter image description here

  2. Then select Launch image in assetsi)Then select attribute inspectorenter image description here

  3. finally check your Launch image source. you can see set Launch image.

enter image description here


iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).

enter image description here

Check human interface guidelines for more details.