Frage

I have a Xamarin.Mac C# application that needs to run as a hidden daemon.
How do I tell my app to not show it's icon in the OS X dock?

Thanks!

EV

War es hilfreich?

Lösung

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

This is the same as manually setting LSUIElement to 1 in a text editor and tells OS X to launch the application as an agent.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top