问题
AudioServicesPlaySystemSound() is playing my sounds using ringer volume.
I want them to play according to system volume instead.
How to?
回答1:
You should use the AVFoundation Framework to play your sounds. Look into the AVAudioPlayer class.
来源:https://stackoverflow.com/questions/4328700/ios-system-volume-control