xib(Xcode8) 上 UIView/UIImageView 的大小变为 (1000, 1000)
The size of UIView/UIImageView on xib(Xcode8) become (1000, 1000)
我在 xib 上使用自动布局来创建我的 UI。
当我完成 UI。它在模拟器上运行良好。
但是下次打开Xcode8的时候,xib显示很奇怪
一些 UIView 和 UIImageView 变大了。
大小变为 (1000, 1000)
即便如此,当我在模拟器上运行时,它看起来还不错。
但是xib不能轻易修改。
我尝试更新框架。变得更糟
我该如何处理?
这是Xcode8的问题。这已在 Xcode8.1 beta2.
中修复
Xcode 8.0 did not always restore view frames from storyboards and xibs when layouts were
ambiguous. Xcode 8.1 fixes several of these issues. If you have encountered these issues, resolve the
ambiguity in the Auto Layout issues and update frames. Xcode 8.1 will persist them correctly.
(28221021, 28244619)
我在 xib 上使用自动布局来创建我的 UI。
当我完成 UI。它在模拟器上运行良好。
但是下次打开Xcode8的时候,xib显示很奇怪
一些 UIView 和 UIImageView 变大了。
大小变为 (1000, 1000)
即便如此,当我在模拟器上运行时,它看起来还不错。
但是xib不能轻易修改。
我尝试更新框架。变得更糟
我该如何处理?
这是Xcode8的问题。这已在 Xcode8.1 beta2.
中修复Xcode 8.0 did not always restore view frames from storyboards and xibs when layouts were ambiguous. Xcode 8.1 fixes several of these issues. If you have encountered these issues, resolve the ambiguity in the Auto Layout issues and update frames. Xcode 8.1 will persist them correctly. (28221021, 28244619)