使用AutoLayout来动态计算UITableViewCell的高度,FooterView移位的问题
使用AutoLayout来动态计算UITableViewCell的高度,如果为UITableView设置了FooterView,不能使用与计算方法:
1 | - (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath |
如果使用,会导致FooterView位置偏移
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Andy矢倉!