xcode 从 UIScrollview 中删除内容和框架布局指南
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/58661462/
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
Remove Content and Frame layout guides from UIScrollview
提问by alxlives
I made a pod Xcode 11 and iOS 13, created an UIScrollview and set my content there.
我制作了一个 Pod Xcode 11 和 iOS 13,创建了一个 UIScrollview 并将我的内容设置在那里。
While installing on an older main project, this alert message shows:
在较旧的主项目上安装时,此警报消息显示:
Content and frame layout guides before iOS 11.0
iOS 11.0 之前的内容和框架布局指南
I can see the said layout guides in Interface Builder:
我可以在 Interface Builder 中看到上述布局指南:
How can I remove them?
我怎样才能删除它们?
回答by RichW
Uncheck "Content Layout Guides" on the scroll view.
取消选中滚动视图上的“内容布局指南”。
Select ScrollView -> Property size inspector -> At the foot of the top-most Scroll View section (XCode 11.3.1)
选择 ScrollView -> 属性大小检查器 -> 在最顶部的 Scroll View 部分(XCode 11.3.1)的底部