When I call [self.tableView setEditing:YES animated:YES], the tableview goes into editing mode. When I press on the round minus button, the delete button appears. I would like to change the title of this delete button. How can I do that?
This is easily done using the proper UITableViewDelegate method:
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath {
return @"CustomLabel";
}
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