My app is primarily loading text-based HTML files into a UIWebView
. When a new HTML file is loaded, I'd like it to be read in its entirety to VoiceOver users. Right now, it reads only the headings within <h1>
tags, and then stops.
It works great if I double finger swipe down. I'd really just like to automate that process upon each new page load. Right now I'm using the following within webViewDidFinishLoad
:
UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.theText)
UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, self.theText)