AVAudioPlayer
An object that plays audio data from a file or buffer.
Declaration
class AVAudioPlayerMentioned in
Overview
Use an audio player to:
Play audio of any duration from a file or buffer
Control the volume, panning, rate, and looping behavior of the played audio
Access playback-level metering data
Play multiple sounds simultaneously by synchronizing the playback of multiple players
For more information about preparing your app to play audio, see Configuring your app for media playback.