ios - AVSpeechUtterance completion handler -
how set completion event on speakutterance(utterance) function in swift? need speech neither interrupted nor interrupting.
have looked @ header (or generated swift interface) avspeechsynthesizer? or documentation? looks pretty straightforward there...
set instance of 1 of classes
delegateof speech synthesizer.in class, implement
speechsynthesizer(_:didfinishspeechutterance:)method. it'll called whenever utterance finishes speaking.there's no step three.
Comments
Post a Comment