AVAudioSession | Apple Developer Documentation

There's never been a better time to develop for Apple platforms.