Chapter 16

Finding Your Way

In This Chapter

arrow Using the MapKit framework

arrow Specifying and changing the type, location, and zoom level of a map

arrow Identifying the iPhone’s current location

arrow Annotating significant locations on the map

One of the things that makes iPhone applications compelling is the ability you have as a developer to incorporate the user’s location into the application functionality. One of the more compelling ways to do that is through the use of maps.

Including the ability to display a map in an application became important as people began to realize the kinds of solutions that can be delivered on the iPhone. To many travelers, nothing brands you as a tourist like unfolding a large paper map (except, of course, looking through a thick guidebook). In this chapter, I show you how to take advantage of the iPhone’s built-in capability to display a map of virtually anywhere in the world, as well as to determine the iPhone’s location and then indicate it on the map. As I mention way back in Chapter 1, the iPhone’s awareness of your location is one of the things that enables ...

Get iPhone® Application Development For Dummies®, 4th 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.