• 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: How to hide dock item and application menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to hide dock item and application menu?


  • Subject: Re: How to hide dock item and application menu?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 25 Jan 2010 14:24:21 -0800


On 25 Jan 2010, at 18:06, Arun wrote:

Hi All,

In my application i need to provide an option to hide its dock icon as well
as the application menu.
How can i achieve this? I know that In Info.plist if i add an entry to run
the application as Agent we will not see dock and menu item.

Actually the key you want is LSUIElement — this indicates that you can display a user interface but shouldn't have a menu bar or dock icon.


This is not
useful to me as my req is to provide the option to user to hide/ unhide dock
and menu item.

You can't change that while your app is running. You have to modify your own Info.plist and then relaunch. (And remember that a non-admin user typically won't have permission to modify any of the app's files, if it's in /Applications.)


—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: How to hide dock item and application menu?
      • From: Andreas Mayer <email@hidden>
    • Re: How to hide dock item and application menu?
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >How to hide dock item and application menu? (From: Arun <email@hidden>)
 >Re: How to hide dock item and application menu? (From: Ben <email@hidden>)

  • Prev by Date: how to email a message with a NSAttributedString content
  • Next by Date: Re: simple file browser
  • Previous by thread: Re: How to hide dock item and application menu?
  • Next by thread: Re: How to hide dock item and application menu?
  • Index(es):
    • Date
    • Thread