objective c - AudioServicesPlaySystemSound not playing sounds -


i playing small .wav file using audiotoolbox.

audioservicesplaysystemsound (soundfileobject); 

but not playing.

what reason?

if you're in simulator, make sure in system prefrences → sound, "play user interface sound effects" not turned off. if you're on device, check ringer switch not set silent.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -