Book Image

Learning ibeacon

By : Craig Gilchrist
Book Image

Learning ibeacon

By: Craig Gilchrist

Overview of this book

Table of Contents (16 chapters)
Learning iBeacon
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Our app structure


Our app is split into three views, which are automatically presented completely. There's no real navigation system to the application, the app navigation is controlled by where the user's feet take them.

The permission view

The first view halts the users' access to the app until the app can determine that the location services are switched on for use by the app and that the user has given permission for the app to use their location.

Without location information, our app is useless, but rather than just assuming that we have it like we have in all of our other tutorials, we'll actually give users the reason why we need it and give them a much nicer user experience.

The atrium view

The atrium view gives our user more information about the museum and a summary of the exhibits within. We'll be presenting the user with the atrium view when they're no closer than 5 meters to any exhibit beacon. When they're closer than that, we'll always present the user with an exhibit view.

The...