0

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?

arodriguezdonaire
  • 5,396
  • 1
  • 26
  • 50
RealCasually
  • 3,593
  • 3
  • 27
  • 34

1 Answers1

1

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

vadian
  • 274,689
  • 30
  • 353
  • 361
  • Thanks. Is there a way to do this on a per-notification basis? I have a couple other different notifications I do not want to be persistent. – RealCasually Aug 09 '15 at 19:15