0
我想在我的watchkit码Watchkit OS 2,AVSpeechSynthesizer
和我怎样才能在手表套件OS 2阅读Avfoundation做的是,可能增加AVSpeechSynthesizer或者我需要avfoundation转换为媒体播放器或....
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc] init];
speechPaused = YES;
AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:@""];
utterance.rate = 0.15;
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"it_IT"];
[synthesizer speakUtterance:utterance];
如何其watchkit OS2工作