AirLocate shows how to use CLLocationManager to monitor and range CLBeaconRegion. The code also provides an example of how you can calibrate and configure an iOS device as a beacon with CoreBluetooth.