XCode 6 中缺少 UI 元素

编程入门 行业动态 更新时间:2024-10-21 03:36:48
本文介绍了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 元素

本文发布于:2023-11-08 13:56:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569567.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:元素   XCode   UI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!