Xcode故事板在UI元素周围显示蓝框.如何关闭此功能? [英] Xcode Storyboard Shows Blue Frames Around UI Elements. How do I turn this off?

查看:92
本文介绍了Xcode故事板在UI元素周围显示蓝框.如何关闭此功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

老实说,我不确定我在这里做了什么.我以前从未见过. Xcode现在在我的情节提要中的每个UI元素周围显示蓝框.这适用于其中的所有View Controller.我该如何撤消或解决此问题?

I'm honestly not sure what I did here. I've never seen this before. Xcode is now showing blue frames around every UI Element in my Storyboard. This goes for ALL View Controllers inside it. How can I undo this or fix this?

请参见下面的屏幕截图:

Please See Screenshot Below:

推荐答案

它们是UI元素的边界矩形-它们可帮助您查看各种元素的大小,由于背景颜色等原因,这些大小可能不会立即显现.

They are the bounds rectangles for your UI elements - they help you see the size of the various elements where it may not be immediately obvious due to background colours etc.

您可以通过进入编辑器"菜单->画布"->显示边界矩形"来关闭它们

You can turn them off by going to the Editor menu->Canvas->Show Bounds Rectangles

这篇关于Xcode故事板在UI元素周围显示蓝框.如何关闭此功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆