I have a table view that I want to delete some of the cells in the edit mode. Is this possible? When I added the edit button to the table view controller and press the edit button, there was a delete icon show up in front of every cell. What I want is only some will have the delete button. Thanks.
Asked
Active
Viewed 453 times
1 Answers
3
-(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
Return YES for able to edit. Otherwise NO.

Hanon
- 3,917
- 2
- 25
- 29