O'Reilly logo

Learning iBeacon by Craig Gilchrist

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Our tutorial app

We will now create an app that demonstrates all of these features; it will monitor regions in the background before presenting a local notification. When the app is running, we'll range the beacons in our region and stop ranging them when the app drops into the background. Finally, we'll allow the user to add a Ticket to love passbook event ticket pass that will show up on the lock screen when it's within a region.

To test our app, we'll use the companion OS X application to advertise one of two beacons, representing either a "hot guy" or a "hot gal".

The scenario

You've been asked to build a new location-based dating app. When lonely hearts sign up to the service, they are sent an iBeacon key ring that they carry around with them, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required