Reputation: 15519
Is there any way to make it so that the user cannot swipe-to-delete items? I can't find this property anywhere!!
This is Objective-C xCode iOS
Thanks, Christian Stewart
Upvotes: 1
Views: 173
Reputation: 15519
Already figured it out. Just don't implement commit editing style.
Upvotes: 1
Reputation: 15500
Just don't implement the commit editing style method.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
Upvotes: 0