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-字唐名僧