[英]xcode auto resizing xib not proper on iphone 6s plus
I am using auto resizing xib in my application. 我在应用程序中使用自动调整大小的xib。
I disabled size class and auto layout. 我禁用了尺寸类和自动布局。
this is how i set xib. 这就是我设置XIB的方式。
And this is how its looking on iphone 6s plus 这就是它在iPhone 6s Plus上的外观
How can i fit xib to all device without using auto layout and size class? 如何在不使用自动布局和尺寸类别的情况下将xib安装到所有设备上?
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 因为您的第一个标签
Size inspector is correct
,如果您需要修改,请像
for your second Label do like 为您的第二个标签做喜欢
for your third and Final label Set like 为您的第三个和最终标签设置为
Update 更新
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.