1、针对heightForFooterInSection设置无效
需要在初始化tableview的时候加上self.tableView.sectionFooterHeight = 8;//设置自己要的高度
2、tableview底部UITableViewHeaderFooterView默认有个浅灰色背景
这里在代理中设置一个UIView即可
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
UIView *view =[[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 1)];
view.backgroundColor = [UIColor clearColor];
return view;
}