1:在tableView 在reload 的時(shí)候墓塌,會(huì)跳動(dòng)問(wèn)題和 tableview style 為group時(shí)現(xiàn)實(shí)亂的問(wèn)題
解決:
if(@available(iOS11.0, *)) {
self.tableView.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever;
self.tableView.estimatedRowHeight=0;
self.tableView.estimatedSectionFooterHeight=0;
self.tableView.estimatedSectionHeaderHeight=0;
}else{
self.automaticallyAdjustsScrollViewInsets=NO;
}