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 — Hello Location

Now that you have installed Xcode 4, let us quickly build a Hello Location app that detects your position and shows it (latitude and longitude pair) on the iPhone screen. Don't worry if you do not understand everything right away; we will explore more over the course of this book.

  1. In Xcode, go to File | New Project, and select Single View Application.
    Time for action — Hello Location
  2. Name the product as Hello Location and the company identifier as your company names; in this case, we are using com.packt. Continue to save the project on your disk.
  3. Now that your project is created, it is time to add a label to the Hello_LocationViewController.xib ...

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