Okay, I\'m working on a fun project that has a hurdle where I need to enable Bluetooth audio support for my iOS app.
The hurdle I\'m at is that I simply can\'t even
Swift version
do { try AVAudioSession.sharedInstance().setCategory(.playAndRecord, options: .allowBluetooth) try AVAudioSession.sharedInstance().setActive(true) } catch {} let availableInputs = AVAudioSession.sharedInstance().availableInputs