Is it possible to force MapKit to show all annotations without clustering?
问题 I have two classes that both conform to MKAnnotation , and I was wondering, is there a way to force MapKit to not cluster the annotation when a user zooms out and display all annotations? 回答1: Set MKAnnotation's clusteringIdentifier to nil. e.g. class BikeView: MKMarkerAnnotationView { override init(annotation: MKAnnotation?, reuseIdentifier: String?) { super.init(annotation: annotation, reuseIdentifier: reuseIdentifier) } required init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has