我有这个代码在我的- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
Task *deletedTask = [_tasks objectAtIndex:indexPath.row];
[self.context deleteObject:deletedTask];
[_tasks removeObjectAtIndex:indexPath.row];
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath]
withRowAnimation:UITableViewRowAnimationFade];
[tableView reloadData];
但是,看起来对象正在删除,但实际上并没有。我怎样才能解决这个问题?