How to make my NSUserNotification stay displayed until dismissed?

391 Views Asked by At

I am presenting our users with a high priority notification via an NSUserNotification, and I want it to stay persistently up until dismissed (like the App Store and Calendar apps do). Is there a flag of some sort I can set to get this behavior?

1

There are 1 best solutions below

1
On

Code-sign your app and add the key NSUserNotificationAlertStyle in Info.plist with value alert