I had a similar problem when I wanted custom checkboxes to appear in edit mode but not the delete button (-).
Stefan's answer helped me in the right direction.
I created a toggle button and added it as editAccessoryView to the cell and linked it to the method.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { ....
Implemented these delegate methods
- (BOOL)tableView:(UITableView *)tableview shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath { return NO; } - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { return UITableViewCellEditingStyleNone; }
srik Feb 11 '15 at 11:33 2015-02-11 11:33
source share