I try to get the selected rows of an UITableView after editing mode ends.
- (void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath
{
NSLog(@"did end editing");
NSArray *selectedRows = [tableView indexPathsForSelectedRows];
NSLog(@"%i", selectedRows.count);
}
This unfortunately doesn't work. This method never gets called, when I'm ending editing.
In fact I want the user to be able to select some rows and pass the respective data into a mail.
How do get these cells?! I hope you can help me!
Greetings, Julian