Hello Claude,
Thanks for then reply.
Which buttons precisely ?
Actions button. When you long press the notification. There comes action buttons.
What is the iPhone language setting ?
Language setting is English. However, project setting is Spanish.
I do not find where you tried to ;localise those buttons ; if so, they are displayed in the language of settings.
I localised it while add the local notification in UNUserNotificationCenter:
let logNow = NSLocalizedString("Log Now", comment: "Alert")
let logNowAction = UNNotificationAction(identifier: "LOG_NOW_ACTION", title: NSString.localizedUserNotificationString(forKey: logNow, arguments: nil),options: [.foreground])
UNNotificationCategory(identifier: "CATEGORY_REMINDERS", actions: [logNowAction], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: "", options: .customDismissAction)
notifyCenter.getNotificationCategories(completionHandler: { categories in
var allCategories = categories
self.notifyCenter.setNotificationCategories(allCategories)
})
Topic:
Accessibility & Inclusion
SubTopic:
General
Tags: