Hi,
I use a program that needs Input monitoring to work, I am using the following to check:
bool checkPermission = IOHIDRequestAccess(kIOHIDRequestTypeListenEvent);
This works in principle but does not work in real time; for example, if I uncheck my application's box in Input Monitoring in Security and Privacy the method keeps throwing me 1 as if I had permission, unless I restart the application instance, then it will show 0. Is there any way to get in real time app permissions?
Thanks you.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
macOS
App Tracking Transparency
Security
Objective-C