我正在研究10.8上的示例用户通知,但关键的NSUserNotificationAlertStyle当我将其设置为警报不起作用时,我的应用程序仍然将其显示为横幅,这是通过系统首选项控制它的唯一方法但是如果我想设置默认行为保持警惕的风格?
macos notifications nsusernotification
macos ×1
notifications ×1
nsusernotification ×1