UITableView de reloadRowsAtIndexPaths: (NSArray *) indexPaths à défaut de provoquer une recharge, sauf si vous appelez deux fois?

J'ai un UITableViewController la gestion d'un UITableView objet dans une application iPad. La vue de la table, est lié à une assez compliqué constellation d'autres objets. J'ai un problème quand je demande pour recharger une ligne comme suit:

//indexPath is an NSIndexPath with indexes 0 and 0.  At the moment, this is the only cell in the table view.
NSArray *array = [NSArray arrayWithObject:indexPath]; 
[self.tableView reloadRowsAtIndexPaths:array withRowAnimation:UITableViewRowAnimationNone]; 

Le problème est que la ligne n'est pas rechargée. Il n'y a jamais un rappel à cellForRowAtIndexPath.

Le plus fou c'est que si je l'appelle reloadRowsAtIndexPaths deux fois, la deuxième appel ne déclencher la recharge:

//indexPath is an NSIndexPath with indexes 0 and 0.  At the moment, this is the only cell in the table view.
NSArray *array = [NSArray arrayWithObject:indexPath]; 
[self.tableView reloadRowsAtIndexPaths:array withRowAnimation:UITableViewRowAnimationNone];   //does not reload
[self.tableView reloadRowsAtIndexPaths:array withRowAnimation:UITableViewRowAnimationNone];   //does reload

Je me demande si quelqu'un n'a jamais rencontré un bug de ce genre, et si oui, quelle en était la cause?

êtes-vous le faire dans certains thread d'arrière-plan?
Eu un cas de test?
Thread principal. Si par "cas de test", tu veux dire un exemple simple qui illustre la même chose, non, je n'en ai pas, et je veux je l'ai fait.
Ont le même problème, je suis en utilisant Xcode 6.3.2 et swift 1.2 et ne peut pas recharger certains ligne à partir d'un seul appel. Essayé presque tout, mais la cellule de se rafraîchir uniquement à partir de la deuxième séquentielle reloadRowsAtIndexPaths appel.
Eu de réponse pour le résoudre?

OriginalL'auteur William Jockusch | 2011-04-05