iphoneobjective-cxcodeiossystem-sounds

iOS System Volume Control


AudioServicesPlaySystemSound() is playing my sounds using ringer volume.

I want them to play according to system volume instead.

How to?


Solution

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