Chapter     10

Mapping in iOS

A very common scenario for application developers in iOS is to add mapping to an application. Apple launched a new mapping service in 2012, and there’s a really useful toolkit that’s available to integrate this into your apps. In this chapter you’ll learn how to use the mapping control, as well as the MapKit libraries, to build a simple mapping app that shows you the basics of how it works!

Creating a Mapping App with the Map View

Let’s roll our sleeves up and get started with creating a new app that uses mapping. If you aren’t familiar with creating new apps, it’s a good idea to go back to Chapter 2 and Chapter 4 for a quick getting-started guide.

Create a new single view app and call it “mapControlDemo .” When ...

Get iPhone and iPad Apps for Absolute Beginners, Fourth Edition 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.