O'Reilly logo

iPhone Location Aware Apps by Example by Zeeshan Chawdhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — using MapKit in your app

We will use the Hello Location application we saw in Chapter 3, the one that uses location updates in our app, so that we can change the map display as the location changes. The following diagram should give you an idea of our app behavior:

Time for action — using MapKit in your app

We modify the Hello_LocationViewController.xib file to make our app look more professional as follows:

  1. Add a UINavigationBar to your application's NIB file. Create another view by dragging it from the Toolbox onto the NIB file. Your app should now look like the following screenshot; do not get confused with the UIView already present. What we will be learning ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required