Is it correct to check the current playback time of AVAudioPlayer's .
[audioPlayer play]; float seconds = audioPlayer.currentTime; float seconds = CMTimeGetSeconds(duration);
How can I encode after
[audioPlayer play]
when currentTime is 11 seconds then
[self performSelector:@selector(firstview) withObject:nil];
and after the first view, when currentTime is 23 seconds
[self performSelector:@selector(secondview) withObject:nil];
Thank you for your responses.
source share