Runloop.main.run()
What behaviour did you see? Did that call return? Or did it just not deliver events?
The application runs until I stop the Runloop, my function to add the Monitors for the Mouse events gets called with no errors but I don’t get the any of the events.
If you nest your tool, or your background-only app, within a standard app then the system will likely consider that app to be responsible for your process and use it to prompt for, and track, your TCC privileges.
I need to research this, it sounds like is what we need to do but I’m not sure if it can work with our existent code in cSharp.
Thank you for your help.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: