tableview Footerview有多余的间距

时间:2023-03-09 16:48:47
tableview Footerview有多余的间距

调整footerView的高度

        UIView *footerV = [[UIView alloc] initWithFrame:CGRectMake(, , Main_Screen_Width, )];
UILabel *footerLabel = [[UILabel alloc] initWithFrame:CGRectMake(, , Main_Screen_Width, )];
[footerV addSubview:footerLabel];
footerLabel.text = @"已经到底啦~";
footerLabel.textAlignment = NSTextAlignmentCenter;
footerLabel.textColor = RGBCOLOR(, , );
footerLabel.font = [UIFont boldSystemFontOfSize:];
self.tableView.tableFooterView = footerV;