Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning ibeacon
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning ibeacon

Learning ibeacon

By : Craig Gilchrist
4.4 (7)
close
close
Learning ibeacon

Learning ibeacon

4.4 (7)
By: Craig Gilchrist

Overview of this book

This book is intended for iOS developers who are curious to learn about iBeacon and want to start building applications for iOS. You will gain everything you need to know to master indoor location functionality using Bluetooth beacon technology. No knowledge of iBeacon is assumed.
Table of Contents (11 chapters)
close
close
10
Index

Our tutorial


We're going to demonstrate this sticker-type functionality by building an app that lets you add beacon profiles to a local database, and when the beacon is more than two meters away, the app shows a push notification.

Our companion app already includes three beacon profiles for the important things we might forget, which are listed in the following table:

UUID

Major

Minor

C5FAC3DE-33D5-469C-B094-AD527AF3ECCD

1

1

My wallet

2

My keys

3

My dog

The idea behind our app is that we never leave anything important behind. This means that we need to send a notification if the app isn't active and a beacon moves out of range or present an alert if the app is running at the time we lose the beacon.

Ranging beacons in the background

Since all beacons share the same UUID, we can't rely on the locationManager:didExitRegion delegate method because if we've got two out of the three important things with us, then we'll still be in the region and so we might leave something behind and not...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning ibeacon
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon