contentoffset during flick gesture
开发者_高级运维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
The UIScrollViewDelegate
method -scrollViewDidScroll:
is called continuously during animations.
精彩评论