Closed miaoruiyuan closed 5 years ago
That function should work (look here). What problem are you having?
if (@available(iOS 11.0, *)) { self.tableView.estimatedRowHeight = 0; self.tableView.estimatedSectionFooterHeight = 0; self.tableView.estimatedSectionHeaderHeight = 0; }
(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { return 10; }
(UIView )tableView:(UITableView )tableView viewForHeaderInSection:(NSInteger)section { return [UIView new]; }
@19940524 thx
not work ?????????