ChrisRockC / MyWiki

点-线-面
0 stars 0 forks source link

解决MJRefresh在iOS11系统中上拉加载更多界面发生偏移 #267

Open ChrisRockC opened 5 years ago

ChrisRockC commented 5 years ago

if (@available(iOS 11.0, *)) {

            _tableView.estimatedRowHeight = 0;

            _tableView.estimatedSectionFooterHeight = 0;

 _tableView.estimatedSectionHeaderHeight=0   _tableView.contentInsetAdjustmentBehavior= UIScrollViewContentInsetAdjustmentNever;

        } https://blog.csdn.net/u012498386/article/details/79552820