• 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: Hide application from dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide application from dock


  • Subject: Re: Hide application from dock
  • From: "Jere Gmail" <email@hidden>
  • Date: Wed, 9 Apr 2008 23:34:57 +0200

I know taht with nsbundle I can obtain the path. But as it is a xml
file, I didn't want to mess with it and I was guessing some class
could handle it easily.
btw, I know I have to restart the application in order to apply the changes :P

On Wed, Apr 9, 2008 at 11:25 PM, Randall Meadows <email@hidden> wrote:
> On Apr 9, 2008, at 3:10 PM, Jere Gmail wrote:
>
> > I know I can hide my app from dock simply changing the value
> > NSUIElement in the Info.plist
> > But I want to do it from inside the application. Is there an easy way
> > to modify this file?
> >
>
>  NSBundle -pathForResource... will get you the path to the file, which you
> can then open and modify.  You'll have to restart the app in order for that
> change to be seen by the system.
>



--
http://zon7blog.wordpress.com/
And again we fall.
_______________________________________________

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: Hide application from dock
      • From: "Hamish Allan" <email@hidden>
    • Re: Hide application from dock
      • From: Randall Meadows <email@hidden>
References: 
 >Hide application from dock (From: "Jere Gmail" <email@hidden>)

  • Prev by Date: Re: 64-bit apps [was Re: NSUInteger question]
  • Next by Date: Re: Hide application from dock
  • Previous by thread: RE: Hide application from dock
  • Next by thread: Re: Hide application from dock
  • Index(es):
    • Date
    • Thread