Question

AudioServicesPlaySystemSound() is playing my sounds using ringer volume.

I want them to play according to system volume instead.

How to?

Was it helpful?

Solution

You should use the AVFoundation Framework to play your sounds. Look into the AVAudioPlayer class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top