Attempts to modify the app’s activation policy.
- macOS 10.6+
The desired activation policy.
true if the policy switch was successful, otherwise
NSApplication may be changed to
NSApplication, but other modifications aren’t supported.