I guess I could use AVAudioPlayer
to play a sound, however, what I need is to just play a short sound and I don\'t need any loops or fine-grained control over t
Check out systemsound to play short audio file
include audiotoolbox framework
and create
systemsoundid object
NSString *soundPath = [[NSBundle mainBundle] pathForResource:file ofType:@"aiff"];
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath: soundPath], &soundID);
AudioServicesPlaySystemSound (soundID);