Book Image

Learning iBeacon

By : Craig Gilchrist
Book Image

Learning iBeacon

By: Craig Gilchrist

Overview of this book

Table of Contents (16 chapters)
Learning iBeacon
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 of CLLocationManagerDelegate