What happens with constraints when a view is removed

前端 未结 6 1549
無奈伤痛
無奈伤痛 2020-12-07 21:31

The question I have is simple but I couldn\'t find any information in the documentation.

What happens with layout constraints when a view is removed from the view hi

6条回答
  •  时光取名叫无心
    2020-12-07 22:13

    This question also can be proved by interface builder. When drag and drop a UIView on the ViewController add constraints then remove the UIView, you can see the blue constraints disappear.

提交回复
热议问题