BluetoothGattCallback equivalent in iOS.
I'm developing a BLE App for iOS and Android as well.
In Android, in connectGatt() method one of the parameters is a callback
"BluetoothGattCallback" witch listen for the connection state change and services discovered.
For example, when the user switch off the BLE device, the callback is called and i get the "BluetoothProfile.STATE_DISCONNECTED" (in iOS i get the didDisconnectPeripheral)
And when the user switch on the BLE Device again, in Android i get the "BluetoothProfile.STATE_CONNECTED".
Unfortunately, in iOS i can't find a callBack which announce me the device was on again.
Maybe i'm missing something here.
How can i know that the user switched on the device, for reconnecting to it.