views:

511

answers:

1

I want to perform different action, not delete objects but archive them. When user swiped on tableViewCell I need to show "Archive" instead of delete. change "Delete" button text and color to something else.

How do I customize "Delete mode" appearance?

+2  A: 

Apparently in 3.0 and later there is such method:

- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);
Rod