scrollview的内容适配
contentInsetAdjustmentBehavior
self.tab.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;//UIScrollView也适用
1.UIScrollView的属性contentInsetAdjustmentBehavior
2.UIScrollView的只读属性adjustedContentInset
3.UIView的只读属性safeAreaInsets 参考:http://blog.csdn.net/HDFQQ188816190/article/details/78050242?locationNum=3&fps=1
君凯商联网-iOS-字唐名僧
本文介绍了如何通过调整 UIScrollView 的 contentInsetAdjustmentBehavior 属性来优化内容展示,并解释了 adjustedContentInset 和 safeAreaInsets 的作用。

1009

被折叠的 条评论
为什么被折叠?



