0

I want to change height of screen in order to support iPhone x. Currently when i run my app in simulator of iPhone X the height of bounds is 568. The following line returns 568

CGSize screenSize = [[UIScreen mainScreen] bounds].size;
shakshi
  • 231
  • 1
  • 2
  • 9

1 Answers1

0

This happen when you don't add Default image for iPhone X.

Add screenshot of iPhone X of size 1125px × 2436px and try again.

Refer here for the default image sizes

Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276