This is my scenario: I need to get the user's current location punctually in order to show them a set of nearby points of interest in an MKMapView
. I don't need to keep track of user's location. I need someone to clarify which the best way to do this should be:
1) ASFAIK, is it possible to get the current location by calling mapItemForCurrentLocation
. You get an MKMapItem
object, and I think that this call does not need to have the location services enabled, but I'm not sure if it is possible to get the coordinates for the location this way... is it?
2) Start a CLLocationManager
and listen for location updates. And then just take the first location received and stop listening.
I need this to work for iOS 7+
Thanks