Is there a way to abort the current VoiceOver speech?

We currently have dynamic content which is announced via UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, string). However, under certain circumstances, we'd like to abort the announcement before it finishes, and without having VoiceOver say anything else. Is there a way to stop the VoiceOver speech?


It seems like we can announce the string @" . " (two blank spaces) to do this. (One space would just be announced as "space", and an empty string doesn't interrupt the speech at all). This seems a bit hacky, and I wasn't sure if it's behavior that can be counted on. Is this okay, or is there a better solution?

Replies

Do you mean pause the content/playback and it's audio, or just mute VO and let the content continue to run?