Remove the top and bottom layout guides in interface builder

I'd like to do autolayout based on the parent view, but the top and bottom layout guides are fighting me. Thing is, I'm in an embedded view controller and they aren't relevant:

在这里输入图像描述

The layout guides are here:

I thought maybe one of these settings would remove them, but no luck:

How do I get rid of these guides? If that's not possible, any info on why they get created would be really helpful.

Thanks!


Autolayout is using an inferred status bar size.

To change this, select the view controller, and show the Attributes Inspector. Change the Status Bar attribute from Inferred (as shown in your question) to None.

链接地址: http://www.djcxy.com/p/91570.html

上一篇: 获取Bash数组中的最后一个元素

下一篇: 删除界面构建器中的顶部和底部布局指南