Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to control the animation on a UITableView scrollToRowAtIndexPath?

I would like to modify the animation duration and attach a callback to be called when the animation finishes when calling scrollToRowAtIndexPath with animated:YES but I can't find a handle to its animation proxy or any other way to do it.

Anyone know if this is possible?

like image 696
Dave Verwer Avatar asked Oct 13 '08 05:10

Dave Verwer


1 Answers

In your TableView delegate, implement

-scrollViewDidEndScrollingAnimation:

This will get called once the scroll animation has completed.

like image 118
Ben Gottlieb Avatar answered Oct 04 '22 23:10

Ben Gottlieb