Re: setApplicationIconImage:
Re: setApplicationIconImage:
- Subject: Re: setApplicationIconImage:
- From: Steve Mills <email@hidden>
- Date: Fri, 23 Jan 2015 10:07:14 -0600
On Jan 23, 2015, at 07:34:19, Charles Jenkins <email@hidden> wrote:
>
> Rick, I have a silly suggestion you might like.
>
> I don't really understand what could be so different about the Yosemite icon that it would seem glaringly out of place on other systems, but assuming it really is the case that you want to continue to have two versions, I suggest you continue to use setApplicationIconImage:, but do things the other way around. Make the Yosemite icon be the app's official one, and only call setApplicationIconImage: for earlier OS versions. That way any unpleasantness will cure itself when the user upgrades. You might even include a preference setting so that if the change offends someone, he can turn it off and keep the Yosemite icon on any OS version.
The problem with setApplicationIconImage: is that it will revert back to the actual icon when the user quits, right? So if they keep the app in their Dock, the icon will keep changing as they launch/quit. -setIcon:forFile:options: still sounds like your best bet, because it will make a lasting change. Although it's too bad that Apple didn't allow this method to take an .icns file as well as an image. That would've made it the perfect solution.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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