-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
return 10.0;
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
UIView *bgv = [[UIView alloc]initWithFrame:CGRectMake(0, 0, APPWIDTH, 10)];
bgv.backgroundColor = [UIColor colorWithWhite:.5 alpha:1];
return bgv;
}
你把你添加的line删除 加到上述bgv里面