//iOS11下必须加下面两个方法,否则不走区头区尾高度设置方法的,
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
UIView *footView = [[UIView alloc]init];
return footView;
}
-(UIView*)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
UIView *headerView = [[UIView alloc]init];
return headerView;
}