84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
如题,我在tableview cell中,使用Masonry做自动布局,但是使用systemLayoutSizeFittingSize:UILayoutFittingCompressedSize 来计算的行高为0,证明我的Autolayout有错,不过我不知道怎么去检查这个?
学习是最好的投资!
There is no "effective" way to check whether the constraints are correct. You can only figure out whether the constraints are satisfied and whether the cell can be fully supported.
You can refer to this article: self-satisfied cell
There is no "effective" way to check whether the constraints are correct. You can only figure out whether the constraints are satisfied and whether the cell can be fully supported.
You can refer to this article: self-satisfied cell