Simple TableView Question
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
Already figured it out. Just don't implement commit editing style.
Just don't implement the commit editing style method.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
精彩评论