Re: How can I find out that Voice Over is on programmatically?
Re: How can I find out that Voice Over is on programmatically?
- Subject: Re: How can I find out that Voice Over is on programmatically?
- From: Boris Dušek <email@hidden>
- Date: Tue, 16 Oct 2012 14:33:21 +0200
Hello Nava,
16. 10. 2012 v 14:12, Nava Carmon <email@hidden>:
> Is there a way to know whether Voice Over is on and running?
first, there is no "on", VoiceOver is either running, or is not. There is no "VoiceOver is enabled but not running".
on iOS: UIAccessibilityIsVoiceOverRunning() tells if VoiceOver is running, and UIAccessibilityVoiceOverStatusChanged notification is posted when VoiceOver is turned on/off - see [1] and [2] ([2] at the very end)
on OS X: there is no API for this AFAIK, i.e. no way to tell if VoiceOver is running or not, you can learn whether access to assistive technologies is enabled with AXAPIEnabled(), but that is not the same as if VoiceOver is enabled.
Best regards,
Boris Dušek
R&D, tech support
BRAILCOM,o.p.s.
www.brailcom.org
[1]: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UIAccessibilityIsVoiceOverRunning
[2]: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAccessibility_Protocol/Introduction/Introduction.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden