Re: setApplicationIconImage:
Re: setApplicationIconImage:
- Subject: Re: setApplicationIconImage:
- From: Rainer Brockerhoff <email@hidden>
- Date: Sat, 24 Jan 2015 12:04:19 -0200
On 1/23/15 18:00, email@hidden wrote:
> Date: Fri, 23 Jan 2015 09:05:54 -0800
> From: Jens Alfke <email@hidden>
> To: "Rick C." <email@hidden>
> Cc: Cocoa Cocoa-Dev <email@hidden>
>
>> On Jan 23, 2015, at 1:53 AM, Rick C. <email@hidden> wrote:
>>
>> Unfortunately setApplicationIconImage: works great it’s just I
>> can’t find a method to put it in that will cause the change before
>> the app launches. It always takes place a second after the app
>> launches…
>
> What you're asking for is impossible, because
> -setApplicationIconImage is a TEMPORARY change to the icon that only
> takes effect when the method is called, and goes away when the app
> quits. Read that word again: TEMPORARY.
Just to complement this for the list archives, setApplicationIconImage:
changes the _process_ icon in the Dock, not the _bundle_ icon in the
application itself.
The method should, perhaps, be called "setProcessIconImage:" :-)
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://brockerhoff.net/blog/
_______________________________________________
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