Finding Location

When working with maps, you need to use coordinates, expressed in latitude and longitude degrees. You can find the device’s location from the sensors (GPS, cell towers, and Wi-Fi), which give you coordinates directly. However, the coordinates are not very people-friendly, so it’s important to be able to convert an address into coordinates. This process is called geocoding, and it lets you take a human-readable address and convert it to a coordinate.

Forward Geocoding

To demonstrate how geocoding works, you add a screen to show location data in the MyContactList app you worked on in the previous screen. Open the project from the previous chapter or the project for this chapter that comes with the book. Then open the Storyboard ...

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

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