Question

I have paired my iPhone with a specific Bluetooth headset. I would like to programmatically connect and disconnect from the headset but cannot seem to find the API to accomplish this.

Am I simply missing something?

Thanks!

Was it helpful?

Solution

Unfortunately, there is no API to interact with Bluetooth headsets.

There are APIs for connecting to Bluetooth LE devices, called CoreBluetooth. But these APIs cannot be used to connect to bluetooth headsets. Users have to use the settings application to connect to them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top