NSUserNotificationAlertStyle plist键不起作用 [英] NSUserNotificationAlertStyle plist key not working

查看:113
本文介绍了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键不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆