Divyesh Savaliya Divyesh Savaliya - 3 months ago 15
iOS Question

xcode auto resizing xib not proper on iphone 6s plus

I am using auto resizing xib in my application.

I disabled size class and auto layout.

this is how i set xib.

enter image description here

And this is how its looking on iphone 6s plus


enter image description here

How can i fit xib to all device without using auto layout and size class?

Answer

actually you set the layout for every label in left corner, thats the reason its showing full left.

for your First label Size inspector is correct, if you need the modification do like

enter image description here

for your second Label do like

enter image description here

for your third and Final label Set like

enter image description here

Update

enter image description here