如何使通知可点击?
我希望当用户在Mac上点击通知时,Safari会打开指定的链接。
要响应对userNotification
对象的点击,需要实现NSUserNotificationCenterDelegeate
的userNotificationCenter:didActivateNotification:
方法。