AVSpeechSynthesizer stops working

699 views Asked by At

I have a relatively rare issue with AVSpeechSynthesizer where it'll finish speaking an utterance, but then won't speak the next one I give it. If I go to the Home screen then come back to the app, however, it'll start speaking again on its own.

It only happens maybe once every 50 - 100 runs of the app, so I can't really reproduce it to test it more thoroughly.

The didFinishSpeechUtterance delegate does called, but the next didStartSpeechUtterance does not.

I tried allocating a new instance of AVSpeechSynthesizer to see if that would fix things, but it did not.

Has anyone else experienced this issue? Any ideas?

0

There are 0 answers