views:

45

answers:

1

Hello,

I have several custom MKPinAnnotationView on my map with different images(colored pins). Everything works fine until I either click on a pin or change the map to a different view(satellite/road)... when I do either of these, my pins will revert back to the classic red color.

Any help would be greatly appreciated.

A: 

The above link posted by shaji helped me solve the issue: http://stackoverflow.com/questions/2087738/iphone-mapkit-annotation-images-get-reset-back-to-pins/2089971#2089971

I ended up subclassing both MKAnnotation and MKAnnotationView.

Dave C