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  阅读(57)  评论(0)    收藏  举报