2015-04-20 41 views
2

有誰知道是否可以訪問Apple Watch的內置語音合成器?Apple Watch/WatchKit語音合成器

對於我的iOS主軟件,我用AVSpeechSynthesizer如下:

AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:theSpeech]; 
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-GB"]; 

此作品完美,但相同的代碼不會在WatchKit推廣工作。

回答

1

根據development forums中的答案,音頻播放似乎無法直接在Apple Watch上直接進行。

WatchKit Extension中的合成語音播放將在iPhone上進行。這可能不是一個理想的用戶體驗。