开发者

How to remove Icon from dock but keep in cmd-Tab (Cocoa)

I know how to remove an application from the dock by setting the LSUIElement property in info.plist, is there anyway to hide this icon and yet still have it appear in the cmd-Tab viewer (it is a status bar application). I know that it wou开发者_StackOverflowld probably be a hack, but I would still appreciate the help.


This is not possible. The application switcher and the Dock use the same criteria to determine whether an application should appear in them. It's not really clear how you would "switch to" an application that doesn't have a window anyways.

(If your app does have some sort of a window that is transient, à la Quicksilver, you should look into using a hot key to activate it.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜