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
Post a Comment