swift-example
swift-example copied to clipboard
Unable to switch to speaker output when bluetooth headsets are connected
Unable to switch to speaker output when bluetooth headsets are connected Is there way to change output audio to BluetoothHeadset, Earpiece, Speakerphone in real time ? I used AudioManager.shared.preferSpeakerOutput = true/false to dynamic/speaker, but its not working when bluetooth headsets are connected