本文介绍了XCode 6 中缺少 UI 元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到了这个问题,其中我的 UI 元素似乎丢失/隐藏在故事板中,而实际上并非如此.这是我的问题的截图.
I had this problem wherein my UI Elements seem to be missing/hidden in storyboard where in fact it is not. This is a screenshot of my problem.
推荐答案问题在于您的设备布局....实际上它在其他布局上制作,例如 wAny hAny,现在您在其他布局上显示它,例如 wCompact hRegular....这就是问题发生的原因...
The problem is with your device layout.... Actually it makes on other layout like wAny hAny and now you show it on other layouts like wCompact hRegular....thats why the problem occurs...
这是视觉呈现
您可以通过在属性检查器中检查为您的尺寸类别安装的选项来启用它.参考这张图片
You can enable it by checking the option installed for your size classes in your attribute inspector. Refer this image
更多推荐
XCode 6 中缺少 UI 元素
发布评论