lire un fichier mp3 dans l'application iOS

Je ne peux pas comprendre comment lire un fichier de musique dans un jeu iPhone.

Im création d'un Jeu et je suis à essayer de comprendre la façon de jouer de la musique à chaque fois que l'application est lancée.

J'ai essayé ceci:

- (void)awakeFromNib {

    NSString *path = [[NSBundle mainBundle] pathForResource:@"musicamenu" ofType:@"mp3"];

    AVAudioPlayer *theAudio = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL];

    [theAudio play];


}

source d'informationauteur user2444410