I have a UIAlertController that I am presenting with a view controller. Before presenting the UIAlertController I set accessibilityViewIsModal to true but when using VoiceOver it still focuses on, and reads out everything on the view controller "behind" the UIAlertController (the one that I presented my UIAlertController with)
let alertController = UIAlertController(title: alertTitle, message: nil, preferredStyle: .alert)
alertController.accessibilityViewIsModal = true
present(alertController, animated: true, completion: nil)
Any ideas on how I can prevent VoiceOver from reading the content not in the alert dialog?