I have a Mac application.
I want to enable / disable some app functionality depending upon if VoiceOver has been enabled or not.
I know that I can detect if VoiceOver has been enabled / disabled using [[NSWorkspace sharedWorkspace] isVoiceOverEnabled].
Apart from this, I want to register for a notification to detect the changes in VoiceOver status (enabled / disabled).
I found that, this can be achieved in iOS by registering to UIAccessibilityVoiceOverStatusDidChangeNotification notification.
But, I did not find similar notification for macOS.
Can anyone please let me know how can I achieve this in macOS.