Problem in playing sound in application?
<p>I developing simple game application in which i playing sound with UIView animation.</p>

<pre><code>theAudioPlayer = [[AVAudioPlayer alloc] init];  

[theAudioPlayer initWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"pageTurn"] ofType:@"mp3"]] error:NULL];

[theAudioPlayer play];
</code></pre>

<p>where theAudioPlayer is the instance object of AVAudioPlayer class.
Now my problem is when i playing the game after 10-15 minutes during the animation of UIViews sound going to mute.It never play again, why? </p>

<p>Thanks for sending an viewing my question.</p>
