How would I be able to see if my app has ‘Input Monitoring’ permissions in my Swift-based macOS app? This applies to macOS Ventura+.
In earlier versions of macOS, I think this permission was bundled in with the Accessibility permissions, which I could query with AXIsProcessTrusted()
or AXIsProcessTrustedWithOptions(options as CFDictionary?)
. This still returns true if my app is enabled in the Accessibility menu (see below), but I’m not able to see the Input Monitoring status specifically.
Is anyone aware of an API that will expose Input Monitoring status, or any other technique for determining if access has been granted?