STQRCodeController
STQRCodeController copied to clipboard
播放声音的时候崩溃
在- (void)playSystemSound{ SystemSoundID soundID; NSString *strSoundFile = [[NSBundle st_qrcodeControllerBundle] pathForResource:@"st_noticeMusic" ofType:@"wav"]; AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:strSoundFile],&soundID); AudioServicesPlaySystemSound(soundID); }中的
AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:strSoundFile],&soundID);这一行崩溃了。。。
出现问题的系统是?