Hi,
Detecting "Accessibility" granted or not will work using "AXIsProcessTrustedWithOptions" API in Xcode with compile source as "According to file type".
But changing Xcode setting with compile source as "Objective C++" will make "AXIsProcessTrustedWithOptions" API always return "NO" since the Accessibility privilege is granted in "Security & privacy".
Does anyone have any idea about this?
Thanks,
YM
Detecting "Accessibility" granted or not will work using "AXIsProcessTrustedWithOptions" API in Xcode with compile source as "According to file type".
But changing Xcode setting with compile source as "Objective C++" will make "AXIsProcessTrustedWithOptions" API always return "NO" since the Accessibility privilege is granted in "Security & privacy".
Does anyone have any idea about this?
Thanks,
YM