我的自动布局不适用于所有屏幕

时间:2016-10-07 12:21:41

标签: ios xcode autolayout xib

在IPhone5上运行时

This is my layout 我正在使用AutoLayout来设计应用程序。效果很好。
但是,当我在IPhone6 Plus上运行时,它不会look great 我不知道会发生什么。

请帮帮我。

2 个答案:

答案 0 :(得分:0)

您需要按照以下屏幕截图设置tableview。

enter image description here

答案 1 :(得分:0)

我认为为ViewController设置Autoresize Subviews可能会有所帮助。

  1. 在故事板中单击您的ViewController
  2. 点击查看
  3. 点击 自动调整子视图选项
  4. Check the Autoresize Subviews property