Re: setApplicationIconImage:
Re: setApplicationIconImage:
- Subject: Re: setApplicationIconImage:
- From: "Rick C." <email@hidden>
- Date: Thu, 22 Jan 2015 15:03:38 +0800
Thanks for the reply. But how can I have multiple icon files in the bundle and then choose the one I want?
> On Jan 22, 2015, at 2:00 PM, Jens Alfke <email@hidden> wrote:
>
>
>> On Jan 21, 2015, at 9:46 PM, Rick C. <email@hidden <mailto:email@hidden>> wrote:
>>
>> I’m using NSApp setApplicationIconImage: to set a different icon for Yosemite. Problem is the standard icon appears for a second then it changes to the Yosemite one. Same when quitting the app. Is there a better way to do this?
>
> That method just temporarily alters the displayed icon while the app is running. It's used for things like badging, or the dynamic CPU meter display in Activity Monitor.
>
> There's no way that I know of to persistently change the app's icon, short of replacing the actual icon files in the bundle.
>
> —Jens
_______________________________________________
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