Wednesday, March 27, 2013

How to display a Map


  1. Create a new project, choose Single View Application.
  2. On the initial preferences/setup screen (or click the file projectname.xcodeproj) a list of linked frameworks is shown:
  3. Click the + button to add a new framework.
  4. Search for mapkit and add it. 
  5. Open the story board.
  6. From the right side panel, drag the Map View control onto the story board.
  7. Done. Run the application it should look like this:

No comments:

Post a Comment