更新到XCode 8后视图大小错误

时间:2016-09-14 10:20:34

标签: ios xcode xcode8

我将XCode更新为第8版,当我打开Main.storyboard时,它显示弹出窗口选择设备版本,我选择iPhone 6s所有内容都已转换但我的视图仍为方形大小 enter image description here

即使我更改设备类型,它们也不会改变:

enter image description here

1 个答案:

答案 0 :(得分:1)

对我帮助:

  1. 您需要找到Root View Controller
  2. 选择主视图
  3. 编辑 - >解决自动布局问题 - >更新框架