What is the use of the contentOffset property in UIScrollView?
contentOffset
UIScrollView
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:
scrollView
contentView
2.1m questions
2.1m answers
60 comments
57.0k users