• 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: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 25 Jan 2010 23:34:23 +0100

Le 25 janv. 2010 à 23:24, Jens Alfke a écrit :

>
> 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.)



And that it will invalidate your application signature if it is signed.

-- Jean-Daniel




_______________________________________________

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

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>)
 >Re: How to hide dock item and application menu? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to detect no internet connection?
  • 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