i found a solution create a
@property (nonatomic, retain) MKAnnotationView *selectedAnnotationView;
in .h file and save when clicked in annotation pin
- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view
{
if (self.selectedAnnotationView) {
self.selectedAnnotationView.image = [UIImage imageNamed:[NSString stringWithFormat:@"a.png"]];
}
self.selectedAnnotationView = view;
view.image = [UIImage imageNamed:[NSString stringWithFormat:@"b.png"]];
}
change in .m file