Got the issue sorted
If someone else comes across it, your phones silent switch maybe on.
had to configure using AVFoundation the audio session
func configureAudioSession() {
do {
try AVAudioSession.sharedInstance().setCategory(.playback)
try AVAudioSession.sharedInstance().setActive(true)
} catch {
print("Failed: \(error.localizedDescription)")
}
}
Post
Replies
Boosts
Views
Activity
I think you are after
NavigationStack {
TabView {
}
}.navigationViewStyle(StackNavigationViewStyle())
I understand it's an old post. and you probably have moved on. but it is a commonly high hit on google when searching.