Instance Method

accessibilityElementIsFocused()

Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element.

Declaration

func accessibilityElementIsFocused() -> Bool

Return Value

true if an assistive technology is virtually focused on the element; otherwise, false.

See Also

Getting Focus Information

func accessibilityElementDidBecomeFocused()

Sent after an assistive technology has set its virtual focus on the accessibility element.

func accessibilityElementDidLoseFocus()

Sent after an assistive technology has removed its virtual focus from an accessibility element.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software