0

I have developed an iPad application which is working fine on iPad mini and iPad 2. The issue is while I try to run it in iPad Pro, it displays like in the size of iPad Air 2. Please refer the screenshot. It is working fine in iPad Pro simulator.

enter image description here

NightFury
  • 13,436
  • 6
  • 71
  • 120
Suyash
  • 365
  • 5
  • 18

2 Answers2

3

try adding default image

2048 x 2732 (for portrait)

2732 x 2048 (for landscape)

and if you are using storyboard you can also do this

open storyboard select screen change wAny hAny to wRegular hRegular and see if its reflect in preview? as per you requirement.

vaibby
  • 1,255
  • 1
  • 9
  • 23
0

You need to apply constraints so that the view resize according to the screen size. What is the resolution of the image? In UIImageView are you using scaleToFit?

Share more code. See AppleDoc on Autolayout OR See a tutorial on autolayout

Also see:

How to resize a fixed width and height UIImageView with auto layout

UIViewContentMode

Community
  • 1
  • 1
HDdeveloper
  • 4,396
  • 6
  • 40
  • 65