有没有办法获得处于编辑模式的行?
我知道我可以在这里买到- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
但是我该如何摆脱这种方法呢?
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
不起作用,因为它返回 NULL ...
当我的意思是编辑模式时,这意味着该行已向左移动并在右侧显示删除...
提前致谢。