【发布时间】:2019-12-31 14:49:06
【问题描述】:
我在一个view上加了一个empty scrollView,设置了leading/top/trailing/bottom,那么frame是准确的,但是当设置了leading/top/trailing/height时,xib会出现歧义错误!如果我通过代码设置约束,就可以了,为什么???是xib的bug?
【问题讨论】:
-
我知道如何清除错误,只是想知道上面两种情况导致不同结果的原因吗?
标签: ios autolayout scrollview frame xib