I referenced this question: How to detect when a UIScrollView has finished scrolling
UITablewView is a subclass of UIScrollView, and my UITableView delegate does get the - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
message when I scroll the table by hand.
However, when I call - (void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated
to scroll the table, I don't get the scrollViewDidEndDecelerating
message. I am calling the scrollRowToIndexPath...
method with animated:YES
.
Is this a bug/API limitation (on iPhone SDK 3.1.3) or am I missing another way to do this?