美文网首页
iOS11下关于使用刷新控件MJRefresh 页面跳动问题解决

iOS11下关于使用刷新控件MJRefresh 页面跳动问题解决

作者: MooMRiveR | 来源:发表于2017-11-20 09:33 被阅读0次

原理网上很多,直接po方法

if(@available(iOS11.0, *)){

_tableView.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever;

_tableView.contentInset=UIEdgeInsetsMake(64,0,49,0);//导航栏如果使用系统原生半透明的,top设置为64

_tableView.scrollIndicatorInsets=_tableView.contentInset;

_tableView.estimatedRowHeight=0;

_tableView.estimatedSectionHeaderHeight=0;

_tableView.estimatedSectionFooterHeight=0;

}

相关文章

网友评论

      本文标题:iOS11下关于使用刷新控件MJRefresh 页面跳动问题解决

      本文链接:https://www.haomeiwen.com/subject/ngbmvxtx.html