代码改变世界

UIViewAlertForUnsatisfiableConstraints布局问题

2018-01-17 23:05  dengchaojie_learner  阅读(825)  评论(0编辑  收藏  举报

添加的约束多了:

make.height.equalTo(_whereLabel.mas_height);

make.bottom.offset(-kMargin);

 

添加的约束少了:

按照横向,纵向每个方向最少两个约束的原则来排查一下

 

添加symbolic breakpoint断点,发现没有用处。

http://blog.csdn.net/njafei/article/details/50728320

https://www.jianshu.com/p/1071c9b97650