Chapter 4. Ranging Beacons – Hunting for Treasure
In the previous chapter, we covered functionality, which is triggered when we come into the range of a beacon. In this chapter, we will range beacons in a pirate-inspired treasure hunt.
We won't cover lots of new features in this chapter; instead, we will focus on honing our existing knowledge and add just one or two more new methods of the CLLocationManager
class.
In this chapter, we'll cover the following topics:
- Using the
CLLocationManager
class to range beacons - Detecting the range using the
CLLocationManager didRangeBeacons:inRegion
delegate method ofCLLocationManagerDelegate
There be treasure nearby
We will build a treasure-hunting app in this chapter. Ideally, you'll have two compatible iOS devices ...
Get Learning iBeacon now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.