Storyboard UI Elements not displaying in editor

自闭症网瘾萝莉.ら 提交于 2019-12-13 05:25:07

问题


I've started building a mobile app in Xcode on the storyboard, and 2 days ago, I had all of the elements in place perfectly, but now when I open Xcode and look at the storyboard, the elements don't display and the objects in the document outline are all grayed out.

I can still deploy the app to a phone or the simulator and see the elements just fine, so it doesn't seem to be an issue with the placement of the elements, but just an issue with the editor itself.

Xcode Storyboard http://f.cl.ly/items/2B0x0z1N1D1l2P053938/Image%202014-11-13%20at%2009%3A27%3A28.png


回答1:


This happens when you enable Size Classes but added the UI items for specific size. Make sure that you are on correct size by checking bottom of Interface builder.



来源:https://stackoverflow.com/questions/26911207/storyboard-ui-elements-not-displaying-in-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!