AVAudioPlayer stop not calling audioPlayerDidFinishPlaying

Discussion in 'iOS Programming' started by DesertNomad, May 12, 2009.

  1. DesertNomad macrumors newbie

    Joined:
    Jun 25, 2008
    #1
    When a sound naturally finishes my delegate audioPlayerDidFinishPlaying is called, but when I manually call [myPlayer stop], the delegate is never called.

    Why?
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    I'm guessing just a design decision on Apple's part. They probably figured that if you're manually calling stop, then you don't need the delegate method since you're controlling when it's stopping.
     

Share This Page