• 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: Application dock icon problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application dock icon problem


  • Subject: Re: Application dock icon problem
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 14 Jul 2006 20:38:09 +0200

Am 13.07.2006 um 15:49 schrieb Aalok:
My problem is, when I am in disconnected mode and I quit the
application, I see the same icon on the screen as my application icon.
I do change the icon on close with
[NSApp setApplicationIconImage:[NSImage imageNamed:@"AppIcon"]];
but it blinks for a second and again comes down to the disconnected state icon.

This API call is only intended to change the image displayed in the dock while your app is running. It's not guaranteed to stick around after you've quit your application, and it won't change the icon the Finder displays. If it works for you beyond your app's lifetime, you're just getting lucky (maybe the dock is cacheing the icon and the cache doesn't get cleared right away).


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Application dock icon problem
      • From: Michael Watson <email@hidden>
References: 
 >Application dock icon problem (From: Aalok <email@hidden>)

  • Prev by Date: Re: Accepting Background Clicks
  • Next by Date: Re: Application dock icon problem
  • Previous by thread: Application dock icon problem
  • Next by thread: Re: Application dock icon problem
  • Index(es):
    • Date
    • Thread