Inequality Constraint Ambiguity

前端 未结 4 866
没有蜡笔的小新
没有蜡笔的小新 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 04:49

    This does not make sense to the compiler (and logically) because there is no way to know whether the program should change x or width. Making one of the two static will solve your problem.

提交回复
热议问题