Learn to find and range iBeacons using our first project for a physical device.
Apple introduced iBeacon technology with iOS 7, and it's helped make the Internet of Things hypefest even more stratospheric. In this project you're going to learn to detect and range beacons, which in turn means learning how to ask your user for their location. With this, you'll have all the tools required to make your own location-aware apps – just scatter a few beacons around your house!
If you don't have any iBeacons at home, that's OK because most people don't. Instead, I recommend you install the app "Locate Beacon" on your iPad or iPhone, because that comes with an iBeacon transmitter built in, making it perfect for testing. You also need an iOS device that's compatible with iBeacons, which means iPhone 4s or later, 3rd generation iPad or later, iPad Mini or later, or 5th generation iPod Touch or later. I'm afraid the iOS Simulator won't work, but you can at least follow along with the code.
Hacking with Swift Project 22 - Detect-a-Beacon
📄 Viewing lite version
Full site ›
Price not listed
🛒 Buy New on Amazon 🇺🇸
Book Details
Author(s)Paul Hudson
ISBN / ASINB00S09WDWQ
ISBN-13978B00S09WDW3
Sales Rank1,721,572
MarketplaceUnited States 🇺🇸