title: AVAudioPlayer. Stop at time
body: <p>There is a playAtTime function in Swift, which allows you to specify any time when you want to start playing. I need to find a way to do the opposite thing. Is there any function that allows you to specify the time when you want a player to stop? </p>