accessibilityElementDidBecomeFocused()
Sent after an assistive technology has set its virtual focus on the accessibility element.
Declaration
@MainActor func accessibilityElementDidBecomeFocused()Discussion
Override accessibilityElementDidBecomeFocused if you need to know when an assistive technology has set its virtual focus on an accessibility element.