Questions marquées «reloaddata»

19
Comment savoir quand UITableView a terminé ReloadData?
J'essaie de faire défiler vers le bas d'un UITableView après avoir terminé [self.tableView reloadData] J'avais à l'origine [self.tableView reloadData] NSIndexPath* indexPath = [NSIndexPath indexPathForRow: ([self.tableView numberOfRowsInSection:([self.tableView numberOfSections]-1)]-1) inSection: ([self.tableView numberOfSections]-1)]; [self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionBottom animated:YES]; Mais ensuite, j'ai lu que reloadData est asynchrone, donc le défilement ne se produit pas depuis …
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.