控制Section中间隔,我们知道用
- (CGFloat)tableView:(UITableView*)tableView heightForFooterInSection:(NSInteger)section
- (CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section
但似乎显示出来的值和我们设置的值不一致,高出了一些。
再设置
self.tableView.estimatedSectionHeaderHeight = 0;
self.tableView.estimatedSectionFooterHeight = 0;
再看一下,就OK了,
原因不明,按里来说estimatedSectionHeaderHeight 不应该影响显示呀