reloadRowsAtIndexPaths:withRowAnimation: plante mon app

J'ai un problème étrange avec mon UITableView: - je utiliser reloadRowsAtIndexPaths:withRowAnimation: pour recharger certains des lignes spécifiques, mais l'application se bloque avec un apparemment sans rapport exception: NSInternalInconsistencyException - la Tentative de supprimer plus de lignes que exister dans la section.

Mon code se présente comme suit:

[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationFade];

Lorsque je remplace que reloadRowsAtIndexPaths:withRowAnimation: message avec un simple reloadData, il fonctionne parfaitement.

Des idées?

InformationsquelleAutor Anh Do | 2010-12-16