• 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: Hiding process list app icon for GUI apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding process list app icon for GUI apps


  • Subject: Re: Hiding process list app icon for GUI apps
  • From: Erg Consultant <email@hidden>
  • Date: Thu, 28 May 2009 22:28:01 -0700 (PDT)

Oddly it worked. I set LSUIElement in the Info.plist and the app UI works without the Dock or task list icon.

However, doing that caused another weird problem - now my app launches multiple instances of itself every time I double-click it. Remove the LSUIElement key and that behavior goes away.

I think the runtime stuff on OS X was never really ready for prime-time.

Erg


________________________________
From: Eric Schlegel <email@hidden>
To: Erg Consultant <email@hidden>
Cc: email@hidden
Sent: Thursday, May 28, 2009 10:10:36 PM
Subject: Re: Hiding process list app icon for GUI apps


On May 28, 2009, at 6:31 PM, Erg Consultant wrote:

> That is exactly what I want - my app is a standard Cocoa app with a few windows and a menu bar but it's used to launch other apps - so I don't want it showing up in the Command-Tab switch list, the Dock, or the Force Quit window. Mainly, I need my windows and menubar to still be visible.

Unfortunately that means that LSUIElement is _not_ what you want, because a UIElement app can't have a menubar.

In short, if you have a menubar, you will have a Dock tile. If you don't want a Dock tile, you can't have a menubar. The two are bound together.

-eric



_______________________________________________

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: Hiding process list app icon for GUI apps
      • From: Graham Cox <email@hidden>
References: 
 >Hiding process list app icon for GUI apps (From: Erg Consultant <email@hidden>)
 >Re: Hiding process list app icon for GUI apps (From: Peter Ammon <email@hidden>)
 >Re: Hiding process list app icon for GUI apps (From: Erg Consultant <email@hidden>)
 >Re: Hiding process list app icon for GUI apps (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: Hiding process list app icon for GUI apps
  • Next by Date: Re: Core data, bindings and multiple view NIB
  • Previous by thread: Re: Hiding process list app icon for GUI apps
  • Next by thread: Re: Hiding process list app icon for GUI apps
  • Index(es):
    • Date
    • Thread