I looked, and I can’t find anyone where the one on the stack is overflowing who had the same problem as me. Therefore, I use the following code:
-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
{
if (editingStyle == UITableViewCellEditingStyleDelete);
}
and when I press the delete button, it appears, but when I click it does nothing, what did I forget to do?
source
share