开发者

How can you get the touch location during scrollViewDidScroll

It seems that the UIScrollView stops sending touch events to the delegates on the scrol开发者_开发百科lViewDidScroll event. I'm trying to get the y location and can't seem to find access to the events. I would like to update the view based on the position while it's scrolling.

The best lead I've had has been this ( http://github.com/andreyvit/ScrollingMadness ) but this doesn't quite answer my question.

Any pointers and thanks!


-scrollViewDidScroll is called with a reference to the UIScrollView that did the scrolling. Check out [scrollView contentOffset] to get the current scroll location.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜