check avaudioplayer's current playback time
<p>Is this the right way to check <code>AVAudioPlayer's</code> current playback time.  </p>

<pre><code>[audioPlayer play];

float seconds = audioPlayer.currentTime;

float seconds = CMTimeGetSeconds(duration); 
</code></pre>

<p>How i can code after </p>

<pre><code>  [audioPlayer play]; 
</code></pre>

<p>that when currentTime is equal to 11 seconds then </p>

<pre><code>[self performSelector:@selector(firstview) withObject:nil]; 
</code></pre>

<p>and after firstview when currentTime is equal to 23 seconds </p>

<pre><code>[self performSelector:@selector(secondview) withObject:nil];
</code></pre>

<p>Thanks for your answers.</p>
