Protocol: UIAccessibilityFocus
Overview
The UIAccessibilityFocus informal protocol provides a way to find out whether an assistive technology, such as VoiceOver, is focused on an accessible element.Sent after an assistive technology has set its virtual focus on the accessibility element.Sent after an assistive technology has removed its virtual focus from an accessibility element.Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element.
Instance Method Summary (collapse)
-
- accessibilityElementDidBecomeFocused
Sent after an assistive technology has set its virtual focus on the accessibility element.
-
- accessibilityElementDidLoseFocus
Sent after an assistive technology has removed its virtual focus from an accessibility element.
-
- accessibilityElementIsFocused
Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element.
Instance Method Details
- (Object) accessibilityElementDidBecomeFocused
Sent after an assistive technology has set its virtual focus on the accessibility element. Override accessibilityElementDidBecomeFocused if you need to know when an assistive technology has set its virtual focus on an accessibility element.
- (Object) accessibilityElementDidLoseFocus
Sent after an assistive technology has removed its virtual focus from an accessibility element. Override accessibilityElementDidLoseFocus if you need to know when an assistive technology has removed its virtual focus from an accessibility element. Note that accessibilityElementDidLoseFocus is sent before accessibilityElementDidBecomeFocused.
- (Boolean) accessibilityElementIsFocused
Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element.