I am trying to set the type of animation for removing a cell from a table using deleteRowsAtIndexPaths withRowAnimation. The animation appears, but regardless of the type transferred, it is always the same. The cell shrinks up and disappears. The loadData method updates the array with data to fill the table.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath{ [[_coreData managedObjectContext] deleteObject:[_notes objectAtIndex:indexPath.row]]; [_coreData saveData]; [self loadData]; [self.tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; }