When I switch bluetooth when connected to a CoreBluetooth peripheral, I do disconnect and delete all the links to my peripheral device in the centralManagerDidUpdateState .
Performing another scan will find and reconnect to the device and return discoverServices again, but this time around didDiscoverServices never happens. Having deleted all the settings (General β Reset β Reset all settings) or restart it again. Disconnecting / reconnecting, as usual, also works. How can I get around this or delete all cache and UUIDs saved by iOS programmatically?
source share