ZouBi
ZouBi

Reputation: 813

Add application to Privacy >> Accessibility in Objective-C

For enabling some of my application's features, I need the user to add the application in the accessibility list: enter image description here

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

Answers (1)

Willeke
Willeke

Reputation: 15632

AXIsProcessTrustedWithOptions returns whether the current process is a trusted accessibility client. Option kAXTrustedCheckOptionPrompt indicates whether the dialog will be displayed.

Upvotes: 1

Related Questions