如何删除Xcode中的填充式空间

时间:2017-03-14 08:11:57

标签: ios xcode uiview autolayout

我在Xcode中有一个结构,如下所示。我设置了约束,但我没有使用Constrain to margins并将所有数字设置为0。但是,我的UIImageView上面仍然有一个类似填充的空间。我想删除它,但我不知道我可以配置这样做以及为什么会发生这种情况?

enter image description here

enter image description here

实际上,我会按照iOS指南的步骤来练习。在它的例子中,它已经检查Adjust scroll view insets,但是没有出现类似填充的空格。有没有取消选中Adjust scroll view insetsenter image description here

的解决方案

0 个答案:

没有答案