I am trying to duplicate the functionality found in the Settings app when managing the Spotlight search options:
I need to be able to rearrange the order of a tableview without an editButton and will need to be able to select/deselect a cell, having the checkmark appear to the left of the cell label.
When I use the following code:
-(UITableViewCellEditingStyle)tableView:(UITableView*)tableView editingStyleForRowAtIndexPath:(NSIndexPath*)indexPath {
return 3;
}
I get this:
This works, but I was wondering if there was any way I could customize the editing style so that the checkmarks are more like they are in the spotlight settings (The red checkmarks look like items are being selected for deletion).
Possible duplicate of: How can i custom UITableViewCell editing style?, but no one seems to have answered it.


Set the editing style to
UITableViewCellEditingStyleNone. Instead, create a checkmark image and a “blank” image (the same size at the checkmark image) and use these to set the cell’simageView.imageproperty. You will need to keep track of which cells are checked or not. Toggle this state and the image view from thedidSelectRowAtIndexPathmethod.