MapKit and CoreLocation question, any ideas?

Discussion in 'iOS Programming' started by AYamout23, Sep 6, 2010.

  1. AYamout23 macrumors newbie

    Sep 6, 2010
    How to code a locator for finding the nearest X from a user's location?

    Say that I am making an app for viewing all the bars near a person's location.

    (The app is an iPhone app built using the xCode)

    How can I make the default map view zoomed on the user's location?
    And HOW can I make it show annotations for all the bars in the shown area? (In terms of code)

    Thank your for any help given.
  2. ianray macrumors 6502

    Jun 22, 2010
    First, you will need to find a source for the geolocation data.

    Second, take a look at the MKAnnotation class.

    Good luck :)

Share This Page