Post

Replies

Boosts

Views

Activity

Comment on AVFoundation AVSpeechUtterance AVSpeechSynthesizer not working in iOS 16 Beta 4, Beta 5
I was facing the same issue for iOS 16 do{ try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback) try AVAudioSession.sharedInstance().setActive(true) }catch{ print("Fail to enable session") } Try adding the above code in viewDidLoad() or in onAppear() if using SwiftUI. It resolved my issue.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23