I tried to get AVSpeechSynthesizer audio file, but it gave me an error,Thread 1: Exception: “An AVSpeechUtterance shall not be enqueued twice”

前端 未结 0 2069
陌清茗
陌清茗 2021-02-13 21:03

Here is my code: ...........

_avSpeaker = [[AVSpeechSynthesizer alloc] init];
speeechutterance = [[AVSpeechUtterance alloc] initWithString:textViewStr];
AVSpeechS         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题