Open ionescu77 opened 6 years ago
Or
AVAudioSession sharedInstance
in the official AVAudioPlayer docs or the AVAudioSession docs
So then: https://stackoverflow.com/questions/31671029/prevent-avplayer-from-canceling-background-audio
Also see comments on Issue 54 on chakra-base
Cocoapods library: https://github.com/adamcichy/SwiftySound
and the corresponding SO discussion: https://stackoverflow.com/questions/36865233/get-avaudioplayer-to-play-multiple-sounds-at-a-time