我正在尝试在我的iPhone应用程序中播放短促的警报声我正在使用我找到的这段代码,但它不会播放任何声音。NSString*toneFilename=[[NSBundlemainBundle]pathForResource:@"alarm"ofType:@"wav"];NSURL*toneURLRef=[NSURLfileURLWithPath:toneFilename];SystemSoundIDSound;AudioServicesCreateSystemSoundID((__bridgeCFURLRef)toneURLRef,&camerSound);AudioServicesPl