- (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