Post

Replies

Boosts

Views

Activity

Comment on Why isn't my app required to get permission for input monitoring?
I also found that calling AXIsProcessTrustedWithOptions which asks for Accessibility permissions will get you Accessibility permissions, and you'll be able to create your CGEventTap without Input Monitoring being requested (because Input Monitoring is part of Accessibility permissions). If you just want/need Input Monitoring permissions, create the CGEventTap, which will prompt the user to give the permissions and restart your app, then when you try to create your CGEventTap again, it won't prompt and you'll get your tap.
Jul ’21