ios - What's the difference between CLBeacon and CBcentralManager -
i want detects beacon/ibeacon devices near iphone's proximity. not sure class should use
should use clbeacon , clbeaconregion , start monitoring region
or
should use cbcentralmanager , scanforperipheralswithservices
which api suited best use case ?
i have tried find online it's not documented anywhere
although ibeacons use bluetooth low energy (ble), not treated ble peripheral in ios. handled via corelocation framework, classes need cllocationmanager
, clregion
, clbeacon
. refer core location programming guide
cbcentralmanager ble peripherals such heart rate monitors, fitness trackers (or else can think of want exchange data peripheral)
Comments
Post a Comment