Size class issue on ipad and iphon xcode

232 Views Asked by At

I am new to ios development. i am creating the UI Like below image. which is correct exact design what i expect.

iphone

when i go to ipad, i have used size class for ipad 12.9 inch screen. regular height and regular width. ipad 12.9 inch screen is below.

ipad12.9inch

it is also looks good. but when i go to ipad pro (9.7inch screen) the text is overlapping on the below image. that is below.

ipad pro 9.7inch

Same thing happening on ipad 7th generation tablet. that image shown below.

ipad 7th generation

My question is all ipad is using the same size class. if i change the size class of ipad (hR and wR) it is affecting on all other ipads. i dont want that. how to solve this issue.

1

There are 1 best solutions below

0
Blazej SLEBODA On

All iPads have the same size class which is Regular width and Regular height. More details here: Section -> Device Size Classes

Different positioning probably comes from your auto layout which depends on a device screen size. Full list here: Section -> Device Screen Sizes and Orientations