• 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: Proper removal of a NSStatusItem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper removal of a NSStatusItem?


  • Subject: Re: Proper removal of a NSStatusItem?
  • From: Gregory Weston <email@hidden>
  • Date: Wed, 22 Jun 2011 17:49:58 -0400

Mac QA wrote:

> When my app quits it leave a gap on the Finder's menu bar where the
> NSStatusItem was. This gap gets cleaned up the next time a user
> "switches" apps. But if you quit my app, see the gap in the Finder
> bar, then just leave the Finder as the frontmost app for awhile that
> gap just remains onscreen looking like a terrible eyesore. :-) Is
> there something I should do differently when my app terminates to
> remove the NSStatusItem so that the Finder's UI cleans up immediately
> rather than at the next app switch. Suggestions appreciated. Thanks.

Have you tried sending removeStatusItem: to the status bar?
_______________________________________________

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

  • Prev by Date: Re: constrained window resizing
  • Next by Date: Re: constrained window resizing
  • Previous by thread: Proper removal of a NSStatusItem?
  • Next by thread: acceptsFirstMouse doesn't work SOLVED
  • Index(es):
    • Date
    • Thread