Bluetooth Connectivity Related

Hello,
How to get bluetooth device connect/disconnect from setting event in project in Objective-C or Swift?
Can you help me to get this event?

Thanks.
Tushar Ramoliya

Replies

What do you mean with setting event

Hello,
I want to get some event in my project code, when we connect/disconnect earphone from setting application in iphone.
So that i can manage my event in my code.
I have issue in my application that
Steps :
1. I have bluetooth headphone connected and then i started voip call, it's display bluetooth icon.
2. During on going call i will disconnect headphone from Settings -> Bluetooth -> discconect headephone(Bluetooth switch is enable only headphone disconnected) and backto my ongoing call, i didn't get any event for bluetooth disconnectivity. Same as for connectivity event.
If you have any query regarding this please ask.
Give me some solution sothat i can resolve this scenario.
Thanks