title: How to pause or stop the current playing audio?
body: <p>In my application, I have one audio file. I want pause or stop the audio by clicking the button. I have tried  with some code, but it still plays the audio. Please tell how to pause the audio or stop it by clicking the button.</p>
  
  <p>Stop code.</p>
  
  <pre><code>- (IBAction)back:(id)sender {
      [self.audioPlayer isPlaying];
      [self.audioPlayer stop];
  }
  </code></pre>
  
  <p>I have used the above to stop the playing audio but its not working.
  where am I doing wrong? How to stop the audio?</p>