开发者

contentoffset during flick gesture

开发者 https://www.devze.com 2022-12-24 00:01 出处:网络
开发者_高级运维Does anyone else notice that the contentOffset of UIScrollView doesnt update during a 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号