3

I am working on making our app more accessible, and am running into an issue with VoiceOver.

I have a view controller that has a table view and a horizontal scroll view that animates every 5 seconds to show something else. (Like what the Apple App Store app does on it's Featured Page where views slide in every few seconds)

The problem is that if I have selected a table view cell and VoiceOver is reading it out, the moment it animates to the next view, the VoiceOver cursor resets to the top of the nav bar.

Looking at the Apple App Store, there is a way to avoid this. I would like it to not reset its position when another view shows.

Any suggestions here would be much appreciated!

4

1 回答 1

3

也许您可以使用 UIAccessibilityPostNotification 并传递您要选择的元素的参数:

UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification,viewToSelect);
于 2013-07-09T12:44:55.760 回答