I would like to allow the user of my app to pick a location in the map. The native map has a \"drop pin\" feature where you can locate something by dropping a pin. How can I
You might also need to set MapView Delegate.
[mkMapView setDelegate:self];
Then call its delegate, viewForAnnotation:
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id)annotation{
MKPinAnnotationView *pinAnnotationView = [[MKPinAnnotationView alloc] initWithAnnotation:annotation
reuseIdentifier:@"current"];
pinAnnotationView.animatesDrop = YES;
pinAnnotationView.pinColor = MKPinAnnotationColorRed;
return pinAnnotationView;
}