AppDelegate 添加
if #available(iOS 11.0, *) {
UITableView.appearance().estimatedRowHeight = 0;
UITableView.appearance().estimatedSectionFooterHeight = 0;
UITableView.appearance().estimatedSectionHeaderHeight = 0;
UITableView.appearance().contentInsetAdjustmentBehavior = .never
}