Summary

With the skills you have learned in this chapter, you have the foundation to start taking advantage of using the hardware features of the user’s device in your own apps. When you do so, be careful to check for the availability of sensors on the device and turn off sensors when not needed to avoid draining the battery. For most of the examples in this chapter, it is necessary to have a physical device for testing, because the Simulator doesn’t simulate most of the hardware sensors.

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.