标签:utc div 工具 nts ios ui 自动布局 tco multi 视图
/* Create constraints explicitly. Constraints are of the form "view1.attr1 = view2.attr2 * multiplier + constant"
If your equation does not have a second view and attribute, use nil and NSLayoutAttributeNotAnAttribute.
*/
view1.attr1 = view2.attr2*multiplier+constant
NSLayoutConstraint( item: 视图,
attribute: 约束属性,
relatedBy: 约束关系,
toItem: 参照视图,
attribute: 参照属性,
multiplier: 乘积,
constant: 约束数值)
iOS UI(布局)约束是什么?view1.attr1 = view2.attr2 * multiplier + constant
标签:utc div 工具 nts ios ui 自动布局 tco multi 视图
原文地址:https://www.cnblogs.com/feng9exe/p/10082186.html