2

I am programming a text-based RPG for Voice-Over users on the iPhone.

I've got multiple UIViews added to my viewcontroller for different events.

I often remove and add them to my main View.

My Question is as follows: is it possible to update the VoiceOver Cursor to focus on the first Element on the View so the User doesn't has to check every Time if there has happened something new?

I figured out that this happens in a Navigationcontroller.

Is there a functionality to do this?

4

2 回答 2

1

通过发布UIAccessibilityLayoutChangedNotification,您通知 VoiceOver 屏幕布局已更改。UIAccessibilityAnnouncementNotification如果要发布特定公告,也可以使用。

UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil);

参考:UIAccessibility 协议介绍、通知

于 2012-06-05T09:43:04.433 回答
0

您无法在 iOS 4 或 5 中控制 VoiceOver 光标。我希望您可以,它会解决很多问题。

我认为这将在 iOS 6 上成为可能。有关更多信息,请参阅此答案:https ://stackoverflow.com/a/11995385/1455770

于 2012-09-18T04:44:19.527 回答