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, ...

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.