What does contentOffset do in a UIScrollView?

后端 未结 3 736
自闭症患者
自闭症患者 2020-12-07 18:26

What is the use of the contentOffset property in UIScrollView?

3条回答
  •  一向
    一向 (楼主)
    2020-12-07 19:11

    It could be considered as the coordinate of the origin of scrollView's frame relative to the origin of its contentView's frame. See the picture below:

提交回复
热议问题