MKClusterAnnotation - Opt out of clustering when selected

Hi,


I have an annotation view that should be clustered when it's not selected by the user.


If the user selects the annotation it should stay out of the cluster (which hides it again when zooming out).


My idea was doing something like changing the clusterIdentificator when selecting an annotation view.


func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
         view.clusterIdentificator = nil
    }


This won't work except when changing it to nil which will cause a crash then (but it feels like this is inteded behaviour so I didn't created a radr)


Is there any way to do this?

I'm trying to do something like this now. Did you ever get this to work?

MKClusterAnnotation - Opt out of clustering when selected
 
 
Q