概述
未完待续
代码
//播放声音
NSString *resoucePath = [[NSBundle mainBundle] pathForResource:@"声音文件名" ofType:@"wav"];
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:resoucePath], &soundID);
AudioServicesPlaySystemSound(soundID);
网友评论