Is it possible to hide the dock icon programmatically

Posted by Unicorn on Stack Overflow See other posts from Stack Overflow or by Unicorn
Published on 2010-05-14T09:10:36Z Indexed on 2010/05/17 0:50 UTC
Read the original article Hit count: 225

Filed under:
|
|
|

Is it possible to hide dock icon programmatically on demand. I know one way by which defining property "Application is agent (UIElement)" in plist we make the cocoa app as user agent. But this result in hiding the dock icon permanently.

I am looking for a way where i can control visibility of dock icon. Any idea ?

© Stack Overflow or respective owner

Related posts about osx

Related posts about cocoa