Chapter    10

Map Kit

iPhones have always had a way to determine where in the world they are. Even though the original iPhone didn’t have GPS, it did have a Maps application and was able to represent its approximate location on the map by using cell phone triangulation or by looking up its WiFi IP address in a database of known locations. In the beginning of iOS development, there was no way to leverage this functionality within your own applications. It was possible to launch the Maps application to show a specific location or route, but it wasn’t possible using only Apple-provided APIs to show map data without leaving your application.

That changed with Map Kit. Applications now have the ability to show maps, including the user’s current location, ...

Get More iPhone Development with Objective-C now with the O’Reilly learning platform.

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