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 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 the Map Kit. Applications now have the ability to show maps, including the user’s current ...
Get More iPhone Development with Swift: Exploring the iOS SDK 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.