关于masonry对自定义cell约束出现的警告问题:Make
2021-03-08 本文已影响0人
天才小海豹
Will attempt to recover by breaking constraint
<MASLayoutConstraint:0x7fef047b95c0 UILabel:0x7fef047f5fe0.height == 200>
出现上述情况,添加优先级即可
make.height.equalTo(200).priority(500);
Will attempt to recover by breaking constraint
<MASLayoutConstraint:0x7fef047b95c0 UILabel:0x7fef047f5fe0.height == 200>
出现上述情况,添加优先级即可
make.height.equalTo(200).priority(500);