开发者

Execute method when IUScrollView finishes scrolling iPhone/iPad

I have a UIScrolLView control and I would like to execute a method when the user finishes scrolling. An alternative would be to use the touchesEnded delegate but I would like the method to get cal开发者_如何学运维led when the UIScrollView finishes scrolling. If the user scrollers really fast and let go it's finger the scroller will continue to scroll and decelerate until it no longer moves. That is when I would like to call my method. How could I do that?


You can use the delegate

scrollViewDidEndDecelerating:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜