gram około z AVSpeechSynthesizer i zawsze się tych błędów:AVSpeechSynthesizer błąd AudioSession
ERROR: >aqsrv> 65: Exception caught in (null) - error -66634
ERROR: AVAudioSessionUtilities.h:88: GetProperty_DefaultToZero: AudioSessionGetProperty ('disa') failed with error: '?ytp'
mojego kodu jest:
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc] init];
[synthesizer setDelegate:self];
speechSpeed = AVSpeechUtteranceMinimumSpeechRate;
AVSpeechUtterance *synUtt = [[AVSpeechUtterance alloc] initWithString:[[self text] text]];
[synUtt setRate:speechSpeed];
[synUtt setVoice:[AVSpeechSynthesisVoice voiceWithLanguage:languageCode]];
[synthesizer speakUtterance:synUtt];
Czy ktoś wie jak to naprawić te błędy?
Widzę to tylko w Symulatorach iOS - nie na urządzeniu. Czy widzisz to samo? –
Jestem również ciekawy, czy jest to wyjątek tylko symulator. Miałem inne wyjątki przy użyciu AVFoundation w symulatorze. – bollhav
O tak, prawda, to samo tutaj! – h345k34cr