更新时间:2023-12-03 14:20:04
p>
Don't call
[self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
只能使用
[self.managedObjectContext deleteObject:sd];
获取的结果控制器委托方法 didChangeObject: $ c>
注意,你不需要 beginUpdates
/ endUpdates
这里。
Note that you don't need beginUpdates
/endUpdates
here.