AVAudioSession allows you to set multiple options at the same time.
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker | AVAudioSessionCategoryOptionAllowBluetoothA2DP | AVAudioSessionCategoryOptionAllowBluetooth error:nil];
Maybe I'm being thick, but I cannot figure out how to do that with this implementation.
AVAudioSession allows you to set multiple options at the same time.
Maybe I'm being thick, but I cannot figure out how to do that with this implementation.