NSUserNotificationAlertStyle plist key not working

后端 未结 4 2079
-上瘾入骨i
-上瘾入骨i 2021-01-12 03:27

I am working on sample user notification on 10.8 however the key NSUserNotificationAlertStyle when i set it to alerts not working, my application still shows it as banner, t

4条回答
  •  粉色の甜心
    2021-01-12 03:41

    You don't need to sign your code, but the end user can change your notification type from System Preferences --> notifications (and then he can choose, None/Banner or Alert). See also this post: Add Alert vs Notification flag

提交回复
热议问题