I'm writing an iPhone app that has a table cell with the style UITableViewCellEditingStyleDelete. This causes the cell to be displayed with a red circle enclosing a minus sign on the left side. Fine so far. It also has a Delete button (rectangular button with the text "Delete") on the right side. I need to change the text "Delete" for localization to other languages. Where is this text defined?
You should take a look at the following method in the UITableViewDelegate Protocol
:
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath
See the docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With