Anyone experiencing issues with Speech to Text in Beta 4 ? It was working absolutely fine in earlier iOS versions.
let utterance = AVSpeechUtterance(string: "The quick brown fox jumped over the lazy dog.")
utterance.voice = AVSpeechSynthesisVoice(language: "en-US")
utterance.volume = 1
utterance.rate = 0.1
let synthesizer = AVSpeechSynthesizer()
synthesizer.speak(utterance)