title: iPhone: MKMapAnnotationView: Current location has the same annotationView as other pins. How to make it unique?
body: <p>Im using the following method to show MKAnnotation View on my mapView. But wehn I do that the current location of the user is also given the same view as the other pins. How can I make the current location a Unique pin color</p>
  
  <pre><code>    - (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id &lt;MKAnnotation&gt;) annotation
  {
      MKPinAnnotationView *annView=[[MKPinAnnotationView alloc] 
                                    initWithAnnotation:annotation 
                                    reuseIdentifier:@"currentloc"];
      //annView.pinColor = MKPinAnnotationColorGreen;
  
       UIButton *myDetailButton = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
       myDetailButton.frame = CGRectMake(0, 0, 23, 23);
       myDetailButton.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
       myDetailButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentCenter;
  
      [myDetailButton addTarget:self 
                          action:nil/*@selector(checkButtonTapped:event:)*/ 
                forControlEvents:UIControlEventTouchUpInside];
  
      annView.rightCalloutAccessoryView = myDetailButton;
  
      annView.animatesDrop=NO;
      annView.canShowCallout = YES;
      annView.calloutOffset = CGPointMake(-5, 5);
      return annView;
  }
  </code></pre>