【发布时间】:2017-08-07 20:43:49
【问题描述】:
我有一个UIAlertController,我用一个视图控制器来展示它。在呈现UIAlertController 之前,我将accessibilityViewIsModal 设置为true,但是当使用VoiceOver 时,它仍然专注于并读出UIAlertController“后面”的视图控制器上的所有内容(我用UIAlertController 呈现的那个) )
let alertController = UIAlertController(title: alertTitle, message: nil, preferredStyle: .alert)
alertController.accessibilityViewIsModal = true
present(alertController, animated: true, completion: nil)
关于如何防止 VoiceOver 读取不在警报对话框中的内容的任何想法?
【问题讨论】:
标签: ios cocoa-touch accessibility uialertcontroller voiceover