When I activate a system sound on my iphone from my swiftUI app the sound works fine. But if I try to play a youtube video there is no sound. The only way I can get sound back is to reset my iphone. Tried the developer forum but no response. Thanks for any help
func dismissView() {
let mySystemSound: SystemSoundID = 1322
AudioServicesPlaySystemSound(mySystemSound)
self.presentation.wrappedValue.dismiss()
}