Stats

105 Contributors: 4 Wednesday, February 8, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

iBeacon

Parameters

ParametersDetails
managerCLLocationManager reference
regionCLRegion could be circular region (geofence or beacon region)
beaconsArray of CLBeacon contains all ranged beacons

Remarks

Beacons are IOT objects. We are focusing on those which conform to iBeacon protocol a Apple standard. Each beacon is a one way device which transmits 3 things

  1. UUID
  2. Major
  3. Minor

We can scan iBeacons by setting up our CLLocation manager object to scan for beacons for particular UUID. All beacons with the given UUID will be scanned.

CLLocation manager also gives call on enter and exit of beacon region.

Related Examples