I can delete some rows, but at some point, I cannot delete anymore. The first numbers of rows that I can delete is aleatory.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
{
if (editingStyle == UITableViewCellEditingStyleDelete)
{
//add code here for when you hit delete
[detailProductArray removeObjectAtIndex:indexPath.row];
[detailTableView reloadData];
}
}
Some of you have an idea ?