iOS Xib布局某些控件显示或隐藏<约束的修改>
摘要:对于这个问题使用Masonry是很好解决的。 注意:绿色的是label2,当indexpath.section % 2 == 0时,label2不存在。 关键代码如下: if (indexPath.section % 2 == 0) { [cell.label2 mas_updateConstrai
阅读全文
posted @ 2017-10-19 16:18