NSUserNotificationCenter: Spoofing the app name/icon?
NSUserNotificationCenter: Spoofing the app name/icon?
- Subject: NSUserNotificationCenter: Spoofing the app name/icon?
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 12 Feb 2013 15:01:53 -0700
Short question: How do I spoof the application name & icon when a notification from an application is posted to NSUserNotificationCenter?
Long question: I've searched around and didn't find a solution to this problem. We have a helper app, and we'd like that helper app to post user notifications. Since the helper app is a menu-less LSUIElement, the app is invisible to users. But when it posts a user notification, it posts the notification under the name of the helper app. We'd like it to post the user notification under the name of the app that the helper app helps, and use a different icon if at all possible. How do I do that? It should be possible because I suspect CalendarAgent is spoofing Calendar.app…
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden