check avaudioplayer's current playback time
Is this the right way to check AVAudioPlayer's current playback time. [audioPlayer play]; float seconds = audioPlayer.currentTime; float seconds = CMTimeGetSeconds(duration); How I can code after [audioPlayer play]; that when currentTime is equal to 11 seconds then [self performSelector:@selector(firstview) withObject:nil]; and after firstview when currentTime is equal to 23 seconds [self performSelector:@selector(secondview) withObject:nil]; gregheo You could set up a NSTimer to check the time periodically. You would need a method like: - (void) checkPlaybackTime:(NSTimer *)theTimer { float