iOS 7中使用该方法来自动调整 UIScrollView 的 contentInset 。在iOS 11之后将会使用 UIScrollView 的 contentInsetAdjustmentBehavior 属性来代替该方法。
查看原文:https://www.liuandy.cn/ios/2018/02/01/2303.html
版权声明:本文为mingmingsuper原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
iOS 7中使用该方法来自动调整 UIScrollView 的 contentInset 。在iOS 11之后将会使用 UIScrollView 的 contentInsetAdjustmentBehavior 属性来代替该方法。
查看原文:https://www.liuandy.cn/ios/2018/02/01/2303.html