美文网首页
ios uiscrollview uitableview 适配

ios uiscrollview uitableview 适配

作者: 一只不会飞的小艳子 | 来源:发表于2017-10-13 10:37 被阅读0次

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

_bgScrollView.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever;

_bgScrollView.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever;

}

if(IS_IOS_11) {

_tbView.estimatedRowHeight=0;

_tbView.estimatedSectionHeaderHeight=0;

_tbView.estimatedSectionFooterHeight=0;

}

相关文章

网友评论

      本文标题:ios uiscrollview uitableview 适配

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