Reputation: 813
For enabling some of my application's features, I need the user to add the application in the accessibility list:
I understand this is not possible to do it without any user interaction, but at least I would like to know two things:
I am using the last version of XCode and Objective-C. Thank you for your help.
Upvotes: 2
Views: 758
Reputation: 15632
AXIsProcessTrustedWithOptions returns whether the current process is a trusted accessibility client. Option kAXTrustedCheckOptionPrompt indicates whether the dialog will be displayed.
Upvotes: 1