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?

有帮助吗?

解决方案

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);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top