界面构建器对象在我的故事板中不可见(标题是透明的) [英] Interface Builder Objects not visible in my storyboard (and titles are transparent)
问题描述
我正在使用与我正在使用的另一个开发人员相同的XCode版本但是当我在我的机器上打开项目时,界面对象在故事板中不可见,并且它们的名称是半透明的。我已经用Google搜索了,但我似乎无法弄清楚为什么会发生这种情况。
I am using the same version of XCode as another developer I am working with but when I open the project on my machine the interface objects are not visible in the storyboard and their names are semi-transparent. I’ve Googled around but I cannot seem to figure out why this might be happening.
任何想法都会非常感激!
Any ideas would be much appreciated!
推荐答案
这是因为在Interface Builder中为不同的 size class 设置了视图,而不是 Any&您当前选择的任何
。
It's because the views have been set for a different size class in Interface Builder, and not Any & Any
, which you have currently selected.
只需适当更改界面构建器中的size类,视图就会返回! :)
Just change the size class in the interface builder appropriately and the views will be back! :)
我遇到了同样的问题,请点击此处阅读:为什么我的视图不会出现在Storyboard中并且在左侧窗格中显示为灰色?
I encountered the same issue, read more here: Why don't my views show up in Storyboards and are greyed out in the left pane?
这篇关于界面构建器对象在我的故事板中不可见(标题是透明的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!