how can i show two different color's pin annotation in MKMapView?
i am using MKMapView Annotation for Displaying pin's.In my Project there are many number of pin's dropping.i w开发者_如何学JAVAant to just show the difference between current location's pin color and other pin's color.so how can i show two different pin's color for current location and other location.
// Identify which pin is being selected
if([[annotation title] isEqualToString:@"Current Location"])
{
annView.pinColor = MKPinAnnotationColorRed;
}
also check this link: Issue with Map Annotation and MKMapView in iOS 4.2?
精彩评论