当我更改我的 Storyboard View Controller 上的 UILabel 或 UIButton 的位置,并在我的 iPhone6+ 上运行该应用程序时,UILabel 和 UIButton 仍处于旧位置。 如果我在 Interface Builder 中更改 UILabel 的文本并运行,则可以正常更改。只是没有职位。
我已清理并重新启动 Xcode8.0,将编辑器 > 本地化设置为“无”。
我正在使用 Particle.io SDK。
最佳答案
View 的位置是使用约束计算的,Interface Builder 中的位置仅定义起始布局,它将在屏幕加载时重新计算。
关于ios - Xcode8 : Changing position of controls in storyboard View Controller has no effect on my app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40244122/