I have a segmented controller which sits on a MKMapView. When I change MKMapType, the image of my custom pins revert to the default red. The title and subtitle, along with coordinates remain intact. Can anyone shed some light on a possible solution?
I have a segmented controller which sits on a MKMapView. When I change MKMapType,
Share
I had a similar problem a while ago.
Why does a custom MKMapView annotation image disappear on touch?
Make sure you’re using
MKAnnotationViewinstead ofMKPinAnnotationVieweverywhere in yourviewForAnnotationmethod.