Re: Proper removal of a NSStatusItem?
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