本文介绍了NSUserNotificationAlertStyle plist 键不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在处理 10.8 上的示例用户通知,但是当我将其设置为警报时,关键 NSUserNotificationAlertStyle 不起作用,我的应用程序仍将其显示为横幅,这是通过系统首选项控制它的唯一方法,但如果我想设置怎么办默认行为是警报风格??
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, the only way to control it through the system preference but what if i want to set the default behaviour to be alert style??
推荐答案
根据这两个错误报告,关键 NSUserNotificationAlertStyle
目前不适用于任何人.
According to these two bug reports, the key NSUserNotificationAlertStyle
isn't working for anyone at the moment.
http://openradar.appspot.com/12632111
http://openradar.appspot.com/12632157
这篇关于NSUserNotificationAlertStyle plist 键不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!