PDA

View Full Version : How to create an app that has no dock icon.




jinksys
Jul 12, 2009, 09:33 PM
I want to create an app that only runs in the status bar. I know how to create the icon and develop the app, but I don't know how to remove the dock icon and other menu items. I think this kind of program is called an agent?



HexMonkey
Jul 12, 2009, 10:42 PM
Try adding the LSUIElement key to your Info.plist file with value 1. See Apple's documentation (http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-108256).