Inequality Constraint Ambiguity

前端 未结 4 886
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 04:00

i\'ve a problem in resizing a UIView with Autolayout and constraints. I\'d like to change the origin (less than or equal of original) and the width (greater than or equal of or

4条回答
  •  误落风尘
    2021-01-31 05:02

    First you have to know what you want to do with constraints, please remove greater-than-equal-to constraint that does not make scene with less-than-equal-to constraint. buz view need define width constraint. either apply priority to which constraint play role first (greater-than-equal-to constraint or less-than-equal-to constraint).

提交回复
热议问题