Test the app on two devices to verify that one advertises the iBeacon profile while the other detects broadcast.
- [Instructor] Now that we have all of our code in place,…it's time for us to run our app on our devices…to verify that everything works properly.…This is the part of the project where we need…two iOS devices to test out our app.…The good thing about X-code is that when you have…both of your devices connected to your machine,…you can run your app simultaneously on both devices.…So I'm going to build and run the app on the iPhone,…and then in the scheme, I'm going to change it to iPhone 6,…and I'm going to build and run the app…on the iPhone 6S Plus.…
When looking at both of our devices,…we're going to need to identify one of them…to be the beacon device, and the other…to be the detecting device.…Once you've done that, on the beacon device,…tap on the menu item Turn Device into Beacon.…In here, we see that our UUID…has already been entered for us,…so we just need to enter in a major value…and a minor value.…And I'm going to now tap the button Start Beacon.…
On the detecting device, I'm going to tap the menu item…
- What is iBeacon?
- Turning your iOS device into a beacon
- Discovering device locations
- Monitoring for iBeacons
- Responding to beacon discovery
- Creating a beacon-based app
Skill Level Intermediate
Programming the Internet of Things with iOSwith Michael Lehman2h 49m Intermediate
iOS 9 App Development: GamePlayKitwith Tammy Coron1h 32m Intermediate
1. Introduction to iBeacons
2. iBeacons with iOS Devices
3. Create a Beacon-Based App
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.