新版本
This commit is contained in:
@@ -207,10 +207,10 @@
|
||||
[readview stop];
|
||||
|
||||
//播放扫描二维码的声音
|
||||
SystemSoundID soundID;
|
||||
NSString *strSoundFile = [[NSBundle mainBundle] pathForResource:@"noticeMusic" ofType:@"wav"];
|
||||
AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:strSoundFile],&soundID);
|
||||
AudioServicesPlaySystemSound(soundID);
|
||||
// SystemSoundID soundID;
|
||||
// NSString *strSoundFile = [[NSBundle mainBundle] pathForResource:@"noticeMusic" ofType:@"wav"];
|
||||
// AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:strSoundFile],&soundID);
|
||||
// AudioServicesPlaySystemSound(soundID);
|
||||
|
||||
[self accordingQcode:result];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user