使用AutoLayout来动态计算UITableViewCell的高度,如果为UITableView设置了FooterView,不能使用与计算方法:

1
- (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath

如果使用,会导致FooterView位置偏移