The titleForDeleteConfirmationButtonForRowAt delegate present in the UITableViewDelegate can be used to change the "Delete" text in the table cell.
func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAt indexPath: IndexPath) -> String? { return NSLocalizedString("erase".localized, comment: "") }
source share