Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS determine if VoiceOver is still talking

Is there a way to determine whether VoiceOver is currently announcing and when it stops. I've tried UIAccessibilityVoiceOverStatusChanged but my understanding is that this is only if you switch VoiceOver on or off. Any help would be greatly appreciated. thanks.

like image 278
John Lane Avatar asked Feb 20 '12 15:02

John Lane


1 Answers

We use otherAudioIsPlaying, the problem is some app's running in the background like some pedometer monitors etc. turn on the audio it seems and never release it so even though nothing is actually being spoken or played otherAudioIsPlaying always returns 1 until you remove the other application from the background. So now not only can you not play music but you have no idea that another application in the background will mess up this test. Apple really needs to put in an API to determine if Voice Over is currently speaking or not.

like image 90
Charles LaPierre Avatar answered Sep 20 '22 19:09

Charles LaPierre