Post

Replies

Boosts

Views

Activity

Reply to No audio on device speakers, works fine with headphones / airplay
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)") } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to How to use NavigationView{} without having a sidebar show up on iPadOS
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24