[英]UIAccessibility and Apple Pay voice-over interaction issue
I am noticing some strange behavior with the interaction of the application, accessibility, and Apple Pay. 我注意到应用程序,可访问性和Apple Pay的交互存在一些奇怪的行为。 If a user does anything to dismiss the Apple Pay sheet while voice-over is active, the name of the application is re-read when voice-over regains focus of the app, causing unexpected results. 如果在画外音处于活动状态时用户采取任何措施来关闭Apple Pay表,当画外音重新获得应用程序的焦点时,将重新读取应用程序的名称,从而导致意外结果。
Example situation for further clarification: 需要进一步说明的示例情况:
Does anyone know how to get the voice-over to continue reading the text? 有谁知道如何获得画外音以继续阅读文本?
You can restore focus to the alert by issuing a well-timed UIAccessibilityPostNotification() , passing UIAccessibilityScreenChangedNotification
and the element to be focused. 您可以通过发布适时的UIAccessibilityPostNotification() ,传递UIAccessibilityScreenChangedNotification
和要聚焦的元素来将焦点恢复到警报。
However, that's a hack to work around the details of how VoiceOver focuses on your app after returning from an out-of-process view controller. 但是,这是一种变通方法,可以解决从进程外视图控制器返回后VoiceOver如何关注您的应用程序的细节。 Please consider filing a bug report so that Apple can investigate a general solution. 请考虑提交错误报告,以便Apple可以调查常规解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.