如何使通知可点击?
我希望当用户单击Mac上的通知时,Safari将使用指定的链接打开。
发布于 2016-05-19 10:28:30
要响应对userNotification对象的单击,需要实现NSUserNotificationCenterDelegeate的userNotificationCenter:didActivateNotification:方法。
userNotification
NSUserNotificationCenterDelegeate
userNotificationCenter:didActivateNotification:
https://stackoverflow.com/questions/37318085
相似问题