I\'m trying to get multiple sounds files to play on an AVAudioPlayer instance, however when one sound plays, the other stops. I can\'t get more than one sound to play at a t
I have created a helper library that simplifies playing sounds in Swift. It creates multiple instances of AVAudioPlayer to allow playing the same sound multiple times concurrently. You can download it from Github or import with Cocoapods.
Here is the link: SwiftySound
The usage is as simple as it can be:
Sound.play(file: "sound.mp3")