contentoffset during flick gesture
Posted
by Michael Xu
on Stack Overflow
See other posts from Stack Overflow
or by Michael Xu
Published on 2010-03-19T07:00:07Z
Indexed on
2010/03/19
7:01 UTC
Read the original article
Hit count: 405
Hi all,
Does anyone else notice that the contentOffset of UIScrollView doesnt update during a flick gesture?
It only updates after the flick gesture has totally completed, when the flick gesture is finished.
After the finger has left the screen, the scrollview keeps moving, in the decelerating phase. but this isnt reflected in the contentOffset of the UIScrollView.
Is there a way to track where the contentOffset is during the decelerating part of the flick gesture?
I have an OpenGL layer on top, and i want it to move with the scrollView. Can't seem to get the right info out of the scrollview though...
Thoughts?
thanks,
michael
© Stack Overflow or respective owner