开发者

How can you get the touch location during scrollViewDidScroll

开发者 https://www.devze.com 2022-12-22 06:50 出处:网络
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 even

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

精彩评论

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

关注公众号