title: AVAudioPlayer resetting currently playing sound and playing it from beginning
body: <p>I'm having an issue using AVAudioPlayer where I want to reset a player if it's currently playing and have it play again.</p>
  
  <p>I try the following with no luck:</p>
  
  <p>The sound plays once but then the second time i select the button it stops the sound, the third time starts the sound up again.</p>
  
  <pre><code>//Stop the player and restart it
  if (player.playing) {
      NSLog(@"Reset sound: %@", selectedSound);
      [player stop];
      [player play];
  } else {
      NSLog(@"playSound: %@", selectedSound);
      [player play];      
  }
  </code></pre>
  
  <p>I've also tried using player.currentTime = 0 which indicates that would reset the player, that didn't work, I also tried resetting currentTime = 0 and then calling play that didn't work.</p>
  
  <pre><code>//Stop the player and restart it
  if (player.playing) {
      NSLog(@"Reset sound: %@", selectedSound);
      player.currentTime = 0;
      [player play];
  } else {
      NSLog(@"playSound: %@", selectedSound);
      [player play];      
  }
  </code></pre>