0
SystemSoundID soundID6; // declaration
NSURL *gamePlayMusic = [NSURL fileURLWithPath:[[NSBundle
mainBundle]pathForResource:@"song1" ofType:@"wav"]];
AudioServicesCreateSystemSoundID((__bridge CFURLRef)Music,&soundID6);
AudioServicesPlaySystemSound(soundID6); //running of music
我可以知道編寫完成/完成後再次運行此音樂的代碼。如何在ios sdk中一次又一次地運行音頻文件