3

Why is it cutting the sides off? It looks perfectly fine in storyboard. I set the size to 4.7 inch iPhone and applied the necessary constraints, but this happens.

Screenshot from iPhone 6s

Rakshith G B
  • 816
  • 2
  • 8
  • 24

1 Answers1

3

Sounds silly, but make sure you have the correct resolution of splash screens set up. On certain phones I've noticed that the incorrect size would clip the screen to the size of the splash screen. Apple is your friend it just werks and all that.

So it's a duplicate of this Why [UIScreen mainScreen].bounds] is not returning full screen size?

Community
  • 1
  • 1
Mathijs Segers
  • 6,168
  • 9
  • 51
  • 75