I'm new to iOS programming, I can't figure out how to solve this problem. I program the player using the method:
- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag{ if (!flag){ NSLog(@"ERROR");} [_audioPlayer stop]; [self nextSong]; [self curTime]; } I determine whether this track has ended and reproduce the next one. But at the same time, the label with the name of the track and the label with its duration do not change (when you click the nextSong / prevSong buttons, everything is fine). Tell me how to fix it?