I do programmatic scrolling in UITableViews with scrollToRowAtIndexPath, which does not fire scrollViewDidEndDecelerating. What is a good way to detect when this scrolling is complete?
I ask because in my code:
[tableView1 scrollToRowAtIndexPath:indexPath1 atScrollPosition:UITableViewScrollPositionBottom animated:YES]; [tableView2 scrollToRowAtIndexPath:indexPath2 atScrollPosition:UITableViewScrollPositionMiddle animated:YES];
sometimes later, additional methods work until this scroll completes. I would like to use something more flawless than performSelector: afterDelay :.
source share