解决UITableView数据没有充满屏幕时,显示多余的空白cell的问题时间:2023-03-09 15:30:50 #pragma mark 去除多余的线 -(void) clearExtrLine{ UIView *view = [[UIView alloc] init]; view.backgroundColor = [UIColor clearColor]; [tableView setTableFooterView:view]; }