How to know when UITableView-reloadData finished?
iPhoneOS 3.1 & 3.2
Want to highlight a helpful answer? Upvote!
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
iPhoneOS 3.1 & 3.2
- (void) selectRowAtIndexPath:(NSIndexPath *) path {
// Replace animated and scrollPos with the values you want to use
[tableView selectRowAtIndexPath:path animated:animated scrollPosition:scrollPos];
}
- (void) foo {
[tableView reloadData];
[self performSelector:@selector(selectRowAtIndexPath:) withObject:indexPath afterDelay:0.0];
}
How to know when UITableView-reloadData finished?