As far as I know there is only one documented way (AXUIElement.h) to ask whether the current process is a trusted accessibility client and that is by using @function AXIsProcessTrustedWithOptions. One app of mine that needs to be a trusted accessibility client just got rejected because of that.
So how did all those apps making use of the Accessibility API pass the review? Is there a (undocumented) way (without requesting root privileges) I don't know about?
Thanks in advance.