Question

User taps control and a different view comes up, animated. VoiceOver still highlights the removed control and it is stuck. User can't interact with the view.

This is not in a UIViewController but a custom UIView subclass.

How to tell VoiceOver to update its presentation or state when something appeared or disappeared with animation?

Était-ce utile?

La solution

You can post an accessibility notification to indicate that the layout or the full screen of content has changed and select a new element.

UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification
                                elementToSelect);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top