I'm using a timer and print the contentOffset.y
of a UIScrollView
to track it all the time.
But the problems is UIScrollView
updates its contentOffset
value only after it is decelerated.
I want to know the contentOffset.y
value in every millisecond of timer and how can I do that? If I cannot use contentOffset
of the UIScrollView
at all, is there any other way to track similar value to contentOffset.y
of a scrollView?
I'm using swift. Thank you.