Re: How to get VoiceOver cursor position
Re: How to get VoiceOver cursor position
- Subject: Re: How to get VoiceOver cursor position
- From: Matthias Schmitt <email@hidden>
- Date: Mon, 05 Nov 2012 17:11:03 +0100
Hello Brian,
On 05.11.2012, at 16:32, Brian J. Cardiff <email@hidden> wrote:
> I would like to know if there is a way to get the focused element by the voiceover app, or at least, the frame black rectangle draw over the screen.
Starting from iOS 4.0 an element itself can tell you if it is in VO focus.
- (void)accessibilityElementDidBecomeFocused
- (void)accessibilityElementDidLoseFocus
- (BOOL)accessibilityElementIsFocused
Once you have the element, you may check its frame coordinates to get the VO cursor rectangle.
Does this answer your question?
Best regards
Matthias Schmitt
magic moving pixel s.a.
23, Avenue Grande-Duchesse Charlotte
L-3441 Dudelange
Luxembourg
Phone: +352 54 75 75 - 0
http://www.mmp.lu
_______________________________________________
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