Sunday 15 March 2015

osx - Xamarin.Mac app that is not visible in Dock -


I have a Xamarin.Mac C # application that needs to run as a hidden daemon.
How do I tell my app? Do not show its icon in OS X Dock?

Thank you!

EV

You can edit the Info.plist file in your project , You can create a new property on the source tab of "Application Agent (UIElement)", and set it in a string of "1".

It is similar to manually setting a LSUIElement from 1 to a text editor and asks OS X to launch the agent as an agent.

No comments:

Post a Comment