如何摆脱 XCode 中透明对象周围的蓝色边框
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30813966/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get rid of blue borders around transparent objects in XCode
提问by TheBrownCoder
I'm a new XCode developer and as I've started up with some tutorials, I've noticed that as I design my layout, there is a strange blue border around objects that should appear transparent. They actually are transparent when you run the app, it has the borders, as shown in the pictures. I'm wondering if there is a way to get rid of these borders so the storyboard more accurately depicts what the app will look like.
我是一名新的 XCode 开发人员,当我开始学习一些教程时,我注意到在设计布局时,对象周围有一个奇怪的蓝色边框,应该看起来是透明的。当您运行应用程序时,它们实际上是透明的,它有边框,如图所示。我想知道是否有办法摆脱这些边界,以便故事板更准确地描绘应用程序的外观。
In Storyboard:
在故事板中:
In App:
在应用程序中:
Thanks!
谢谢!
回答by kishikawa katsumi
Perhaps you can uncheck Editor > Canvas > Show Bounds Rectangles of Xcode's menu.
也许您可以取消选中 Xcode 菜单的 Editor > Canvas > Show Bounds Rectangles。