1 2 3 4 5 | - (UITableViewCellEditingStyle)tableView:(UITableView *)aTableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { // No editing style if not editing or the index path is nil. if (self.editing == NO || !indexPath) return UITableViewCellEditingStyleDelete; } |
Leave a Comment