Masonry约束:Unable to simultaneously satisfy constraints.

约束条件

问题:- (void)layoutSubviews中添加约束,    - (void)touchSelectedButton:(UIButton *)sender中使用mas_updateConstraints来修改高度,修改无效,控制台提示:Unable to simultaneously satisfy constraints.

控制台打印

解决:删掉- (void)layoutSubviews里make.height.equalTo(@0)的约.后边有需要updated的就不需要在开始的- (void)layoutSubviews里添加该项约束了.

你可能感兴趣的:(Masonry约束:Unable to simultaneously satisfy constraints.)