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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.