修复iOS11 tableView 更新时cell显示错乱问题
2017-11-02 本文已影响0人
天空是灰色的白
/*~!
* 解决iOS11 tableView 更新cell错乱问题。
*/
if (@available(iOS 11, *)) {
_mytableView.estimatedRowHeight = 0;
_mytableView.estimatedSectionHeaderHeight = 0;
_mytableView.estimatedSectionFooterHeight = 0;
}