UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectZero style:(UITableViewStyleGrouped)];

 

解决方法:

tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, CGFLOAT_MIN)];

posted on 2021-12-30 17:58  懂事长qingzZ  阅读(52)  评论(0编辑  收藏  举报