• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setApplicationIconImage:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setApplicationIconImage:


  • Subject: Re: setApplicationIconImage:
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 21 Jan 2015 23:11:22 -0800

> On Jan 21, 2015, at 11:03 PM, Rick C. <email@hidden> wrote:
>
> Thanks for the reply.  But how can I have multiple icon files in the bundle and then choose the one I want?

Alter the app's Info.plist, I suppose (and then call LaunchServices to tell it to re-register, so it'll notice the changes.)
Which is a really ugly thing to do — apps should _not_ be self-modifying. And it may often require administrator access because the user may not have write access to the app.

I guess another possibility is to have an installer that writes the correct icon as the app is installed. But installers suck.

Just leave it alone, is my advice. It's not worth the trouble just to try to make your app fit in. Change the icon to Yosemite style, and when users complain tell them to upgrade their OS to match it.

—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


  • Follow-Ups:
    • Re: setApplicationIconImage:
      • From: Allan Odgaard <email@hidden>
References: 
 >setApplicationIconImage: (From: "Rick C." <email@hidden>)
 >Re: setApplicationIconImage: (From: Jens Alfke <email@hidden>)
 >Re: setApplicationIconImage: (From: "Rick C." <email@hidden>)

  • Prev by Date: Re: setApplicationIconImage:
  • Next by Date: Re: setApplicationIconImage:
  • Previous by thread: Re: setApplicationIconImage:
  • Next by thread: Re: setApplicationIconImage:
  • Index(es):
    • Date
    • Thread