在OS X中单击NSUserNotification()



如何使通知可点击?

我希望当用户在Mac上点击通知时,Safari会打开指定的链接。

要响应对userNotification对象的点击,需要实现NSUserNotificationCenterDelegeateuserNotificationCenter:didActivateNotification:方法。

相关内容

  • 没有找到相关文章

最新更新