Global Variable

MKMapViewDefaultAnnotationViewReuseIdentifier

The default reuse identifier for your map's annotation views.

Declaration

NSString *const MKMapViewDefaultAnnotationViewReuseIdentifier;

Discussion

Use this constant to register a default annotation view. This default annotation view is used when your map view's delegate does not implement the mapView:viewForAnnotation: method or when that method returns nil.

See Also

Creating Annotation Views

- registerClass:forAnnotationViewWithReuseIdentifier:

Registers an annotation view class that the map can create automatically.

- dequeueReusableAnnotationViewWithIdentifier:forAnnotation:

Returns a reusable annotation view using the specified identifier.

- dequeueReusableAnnotationViewWithIdentifier:

Returns a reusable annotation view located by its identifier.

- viewForAnnotation:

Returns the annotation view associated with the specified annotation object, if any.

MKMapViewDefaultClusterAnnotationViewReuseIdentifier

The default reuse identifier for the annotation view representing a cluster of annotations.