Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
What You’ll Learn in This Hour:
• The available iOS location-sensing hardware
• How to read and display location information
• Detecting orientation with the compass
In the previous hour’s lesson, we looked briefly at the use of Map Kit to display map information in an application. In this lesson, we take the GPS capabilities of our devices a step further: We tie into the hardware capabilities of the iDevice lineup to accurately read location data and compass information.
In this hour, we work with Core Location and the electromagnetic compass. With location-enabled apps enhancing users’ experiences in areas such as Internet searches, gaming, and even productivity, you can add value and interest to your own offerings with these tools.