升级iOS 11需要做的事情
2017-10-07 本文已影响4人
shiyj
appicon 增加1024*1024
增加相册保存权限提醒
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Allow this app to use your photo library</string>
tableview乱跳(下拉刷新、追加数据 reloadData)
if (@available(iOS 11.0, *)){
_tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
}