Plays a sound asynchronously, starting at a specified point in the audio output device’s timeline.
The absolute audio output device time to begin playback. The value that you provide to the time parameter must be greater than the device’s current time. You can delay the start of playback by using code like this:
true on success, or false on failure.
Use this method to precisely synchronize the playback of two or more AVAudioPlayer objects. This code snippet shows the recommended way to do this:
To learn about the virtual audio output device’s timeline, read the description for the deviceCurrentTime property.
Calling this method implicitly calls the prepareToPlay() method if the audio player is not already prepared to play.