【发布时间】:2014-02-12 05:01:43
【问题描述】:
需要一些帮助来设置 UIScrollView 的约束。
我尝试按照此处的说明进行操作:https://developer.apple.com/library/ios/technotes/tn2154/_index.html(混合方法)。
为 UIScrollView 设置 4 面约束。 然后为 buttonContainer 设置 4 边约束。
这是结果:
但是 xcode 给出了这个错误信息:
如果我尝试 xcode 的建议,滚动视图要么不会滚动,要么根本不显示。
知道这里有什么问题吗?
【问题讨论】:
标签: ios xcode uiscrollview autolayout nslayoutconstraint