Domande taggate «reloaddata»

19
Come sapere quando UITableView ha completato ReloadData?
Sto cercando di scorrere fino alla fine di un UITableView dopo che è stato eseguito [self.tableView reloadData] Inizialmente avevo [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]; Ma poi ho letto che reloadData è asincrono, quindi lo scorrimento non avviene dal …
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.