Re: NSUserNotificationCenter: Spoofing the app name/icon?
Re: NSUserNotificationCenter: Spoofing the app name/icon?
- Subject: Re: NSUserNotificationCenter: Spoofing the app name/icon?
- From: "email@hidden" <email@hidden>
- Date: Wed, 13 Feb 2013 10:25:44 +0000
Is it not possible to use IPC to have the helper message the client app so that the client does the actual posting?
Regards
Jonathan Mitchell
Mugginsoft LLP
On 12 Feb 2013, at 22:01, Nick Zitzmann <email@hidden> wrote:
> 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