I used the AVAudioPlayer to play a 10 sec wav file and it works fine. Now I what to stop the wav at the 4th sec and then play it again from the very 1st sec.
Here is th
Swift:
mySound.audioPlayer?.stop() mySound.audioPlayer?.currentTime = 0 mySound.audioPlayer?.play()