iOs 11 scrollview的内容适配
2017-11-15 08:34
295 查看
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
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 11中APP中tableView内容下移20pt或下移64pt的问题适配的一个总结
- 适配iOS 11及iPhoneX iOS 11下tableView内容下移的问题
- iPhone X适配以及iOS 11可能出现的常见崩溃(info.plist配置)
- UIScrollview在 iOS 11和iPhone X上偏移的两套完美适配方案
- ios 11 适配遇到的问题
- iOS 可以看见下一页的部分内容的ScrollView
- iOS 11 适配
- iOS 11 安全区域适配总结
- iOS 11 和 iPhone X 适配相关文章
- 关于iOS 11的一些新特性适配实践总结
- iOS开发之App开发团队必须知道的 iOS 11 更新点几iPhoneX的屏幕适配
- iOS 11 下适配UITableView 问题
- iOS经典讲解之适配iOS 11那些事-持续更新...
- iOS scrollView及其子类(UITableView等等)内容偏下
- iOS开发问题之:xib里 scrollView的 适配
- iOS 11 下适配UITableView 问题
- ScrollView内容适配及RelativeLayout 水平居中等分和添加等分分割线
- iOS 11 适配
- iOS 11 安全区域适配
- 《iOS 11 安全区域适配总结》