MPMoviePlayerViewController crash on iOS 6.0
- by user1471568
I have a trouble in my app for the iOS6.0.
It works perfectly fine on iOS 5.1.1 and under, but on the 6.0 shows exc_bad_access.
please let me know why.
-(void)endAniView{
if (moviePlayer!=nil) {
[moviePlayer.moviePlayer stop];
[self removeFromSuperview];
}
}
this method called when user touches a button.
and below are NEW ERROR MESSAGE and I've never seen before ios 6.0
2012-09-18 16:13:22.410 KiKiSong[992:907] [MPAVController] Autoplay: Disabling autoplay for pause
2012-09-18 16:13:22.411 KiKiSong[992:907] [MPAVController] Autoplay: Disabling autoplay
2012-09-18 16:13:22.450 KiKiSong[992:907] [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 1, on player: 0)
please help me.
Thanks