[英]Xcode Main.storyboard not showing what appears in the iOS simulator
I am working on a project with other teammates so we have be storing our project on the cloud as a zip file. 我正在与其他队友一起进行项目,因此我们将项目作为zip文件存储在云中。 After unzipping the file, Xcode does not display the main.storyboard correctly;
解压缩文件后,Xcode不能正确显示main.storyboard。 won't show buttons, labels, images, etc. However, when built using the simulator, all of these display correctly.
将不会显示按钮,标签,图像等。但是,使用模拟器构建时,所有这些都可以正确显示。 In Xcode I can access them and change them but am unable to delete or move them through the main.storyboard.
在Xcode中,我可以访问它们并进行更改,但是无法通过main.storyboard删除或移动它们。 Any ideas or suggestions to fix this inconvenience?
有什么想法或建议可以解决这种不便吗?
I think this is because the view controller is locked to prevent editing. 我认为这是因为视图控制器被锁定以防止编辑。 Try unlocking it by
尝试将其解锁
Select Identity Inspector
of view and set Lock
to Nothing
选择视图的
Identity Inspector
并将“ Lock
设置为“ Nothing
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.