这是是正常的,group style这个空隙是headerView的某人高度,解决办法有两种:
1、UITableViewStyleGrouped改为 UITableViewStylePlain。
2、_tableView.tableHeaderView = [[UIViewalloc]initWithFrame:CGRectMake(0.0f,0.0f,_tableView.bounds.size.width,0.01f)];
这是是正常的,group style这个空隙是headerView的某人高度,解决办法有两种:
1、UITableViewStyleGrouped改为 UITableViewStylePlain。
2、_tableView.tableHeaderView = [[UIViewalloc]initWithFrame:CGRectMake(0.0f,0.0f,_tableView.bounds.size.width,0.01f)];