Hour 21. Implementing Location Services

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 preceding 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 the user experience in areas such as Internet searches, gaming, and even productivity, you can add value and interest to ...

Get Sams Teach Yourself iOS 6 Application Development in 24 Hours, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.