I am wondering how to determine which peripherals a CBCentralManager is scanning for without using additional variables, in other words only from the CBCentralManager object.
Asked
Active
Viewed 316 times
1 Answers
1
Looks like the only useful API from CBCentralManager, retrievePeripherals:
was totally removed as of iOS 9. My guess Apple did this because of some fuzzy security concern (e.g. malicious software scanning for Bluetooth devices to exploit?).
The replacement within CBCentralManager, retrievePeripheralsWithIdentifiers:
requires a list of device identifiers already known to the app.

Michael Dautermann
- 88,797
- 17
- 166
- 215