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, and they also get to download a companion app that lets them know when other lonely hearts are in the area.
The lonely heart key rings use the same UUID; however, hot gals broadcast the major value of 1
while hot guys broadcast the major value of...