标签:ios 11 with 方法 高度 nbsp app option tab cti
iOS11默认开启Self-Sizing 如果你没用到预估高度 那么你尝试在Appdelegate.m中的didFinishLaunchingWithOptions方法中,加上如下代码,看看是否有效
if (@available(iOS 11.0, *)) {
UITableView.appearance.estimatedRowHeight = 0;
UITableView.appearance.estimatedSectionFooterHeight = 0;
UITableView.appearance.estimatedSectionHeaderHeight = 0;
}
tableView 使用 reloadSections:withRowAnimation: 时,会跳动的问题
标签:ios 11 with 方法 高度 nbsp app option tab cti
原文地址:https://www.cnblogs.com/somebodywx/p/9025553.html