Posts

Post not yet marked as solved
0 Replies
390 Views
I'd like to modify the text of 'close' and 'action' buttons for my notifications in Notification Center on MacOS Catalina.I know it was possible with NSUserNotification otherButtonTitle and actionButtonTitle but this is now deprecated. I can't find how to do the equivalent code with the new UNUserNotificationCenter API.I'm able to add some UNNotificationAction to UNNotificationCategory but it does not change the default close/action buttons.Anybody knows how to do that on MacOS?
Posted
by mlepage.
Last updated
.