I have an issue where I have a UITableViewController and when the view appears I do some calculations asynchronously which should result in the updating of specific rows in the table.
Inside the cellStartEditing function I calculate the necessary rows that need to be updated as follows:
-(void) cellStartEditing:(templateRow *) row{
int Cellowid= row.rowId;
[arrQuestions removeObjectAtIndex:CellRowid];
[arrQuestions insertObject:row atIndex:CellRowid];
NSIndexPath *indexPath = [NSIndexPath indexPathForRow: inSection:0];
[tvQuestion reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone];
}
At that time reloadRowsAtIndexPaths Animation gain to 50% CPU Memory ?
Aucun commentaire:
Enregistrer un commentaire