AVFoundation wont autoplay my audio
===

im beginner, im coming for asking more question. I have audio file but it wont autoplay when the apps is start, why? this is the code that i use, please help.

in .m file i put #import <AVFoundation/AVFoundation.h>

i also add AVFoundation.framework too.

in my .m file, i put this :

    -(void) awakeFromNib
    {
        NSString *pathFile = [[NSBundle mainBundle] pathForResource:@"Start" ofType:@"mp3"];
        AVAudioPlayer *theAudio = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:pathFile] error:NULL];
        [theAudio play];
    }

when i run it, the audio is not autoplay. why?