tableView 使用 reloadSections:withRowAnimation: 时,会跳动的问题
iOS11默认开启Self-Sizing 如果你没用到预估高度 那么你尝试在Appdelegate.m中的didFinishLaunchingWithOptions方法中,加上如下代码,看看是否有效
if (@available(iOS 11.0, *)) {
UITableView.appearance.estimatedRowHeight = 0;
UITableView.appearance.estimatedSectionFooterHeight = 0;
UITableView.appearance.estimatedSectionHeaderHeight = 0;
}
posted on 2018-05-11 16:56 Somebodywx 阅读(877) 评论(0) 收藏 举报
浙公网安备 33010602011771号