PDA

View Full Version : Getting rid of the Dock icon




CaptainZap
Jun 27, 2007, 02:09 PM
I created an application that runs in the Status bar, everything on it runs but I can't seem to figure out how to hide the Dock icon. I'm sure it's easy to get rid of it but I can't seem to figure it out. Thanks!



WildCowboy
Jun 27, 2007, 02:19 PM
Try Dockless (http://homepage.mac.com/fahrenba/programs/dockless/dockless.html)...it's an old program, but all indications are that it still works.

kainjow
Jun 27, 2007, 02:34 PM
In your app's info.plist, create a new key "LSUIElement" and set its value to 1.

See http://www.cocoadev.com/index.pl?LSUIElement

CaptainZap
Jun 27, 2007, 03:56 PM
Try Dockless (http://homepage.mac.com/fahrenba/programs/dockless/dockless.html)...it's an old program, but all indications are that it still works.

Although that would work, I was hoping to do it within Xcode =D. Thanks anyways Wild.

In your app's info.plist, create a new key "LSUIElement" and set its value to 1.

See http://www.cocoadev.com/index.pl?LSUIElement

Thanks Kainjow, just what I was looking for.