【发布时间】:2015-11-12 07:10:34
【问题描述】:
我有 @IBOutlet 的滚动视图
@IBOutlet weak var mainScrollView: UIScrollView!
我想换个
"Bottom space to: Bottom Layout Guide"
以编程方式约束。
First Item : Bottom Layout Guide.Top
Relation : Equal
Second Item: Scroll View.Bottom
Constant: 0 -> 50 // (I want to change this programmatically)
Priority: 1000
Multiplier: 1
我该怎么做?
【问题讨论】:
标签: ios xcode swift storyboard nslayoutconstraint