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 — detecting the user location and showing nearby issues

We begin adding location support in our app and quickly showing nearby issues by querying the Twitter timeline.

  1. We modify our project by incorporating a Navigation Controller in our main UI flow. This is done in the Interface Builder, by dragging a UINaviationController object from the Object Library. This helps us control the application navigation flow easily.
  2. Connect a segue from the Navigation Controller to the home screen UIViewController, by control dragging your mouse pointer from the Navigation Controller to the home screen View, and selecting Relationship rootViewController from the pop-up menu.
  3. On the home View UI (First View Controller), name the view controller ...

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