Determine audio finish state in MPMoviePlayerController

53 Views Asked by At

I have some trouble with my audio player. I use MPMoviePlayer to play audio stream. I also have an array with my mp3 files. Now what I need is, when audio finish playing, player must play the next track from my array.

  1. I checked stackowerflow to find solution and I found:

[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(myMovieFinished) name:MPMoviePlayerPlaybackDidFinishNotification object:[[PlayerPlistController utilise]playerController]];

  1. I tried this but it doesn't help

  2. I will show my code player, states and others if needed.

Can someone help me. Thanks in advance

0

There are 0 best solutions below