使用的函数:
[self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES];
注意的是一定要在之前将数据源(Datasource)中的内容删除,否则会报错。
被这个问题郁闷了好久,嘿嘿。
使用的函数:
[self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES];
注意的是一定要在之前将数据源(Datasource)中的内容删除,否则会报错。
被这个问题郁闷了好久,嘿嘿。