Returns the element that is currently focused by the specified assistive technology.
SDKs
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
static func focusedElement(using assistiveTechnologyIdentifier: UIAccessibility.Assistive Technology Identifier?) -> Any?
Return Value
The element that is currently focused by the specified assistive technology or the element that was most recently focused, if no technology is specified.