/ Published in: Objective C
![](/img/icon_sav.png?v3)
Just add this delegate method to enable the row delete.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)