We want to set a call-back function (or listener) to trigger some functionalities when a paired bluetooth device is connected to iPhone. I've found some related answers like this, this, or this, but all of them seem quite old.
Do we have a builtin or external library in iOS that enables an app to automatically check if a Bluetooth device is connected or not?
Any input will be greatly appreciated!