Is there a way to execute the method after the animation completed in time -[UITableView moveRowAtIndexPath:toIndexPath]?
-[UITableView moveRowAtIndexPath:toIndexPath]
Ie I would like the table view to animate the movement of the cell to the new indexPath, and then, as soon as the animation is complete, the method should be executed.
I came across this and the answer was to go down to CATransaction:
CATransaction
[CATransaction begin]; [CATransaction setCompletionBlock:^{ // Your completion code here ]; [table moveRow… [CATransaction commit];