iOS 11用contentInsetAdjustmentBehavior替代automaticallyAdjustsScrollViewInsets

iOS 7中使用该方法来自动调整 UIScrollView 的 contentInset 。在iOS 11之后将会使用 UIScrollView 的 contentInsetAdjustmentBehavior 属性来代替该方法。

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x