Instance Property

reuseIdentifier

The string that identifies that this annotation view is reusable.

Declaration

var reuseIdentifier: String? { get }

Discussion

You specify the reuse identifier when you create the view. You use this type later to retrieve an annotation view that was created previously but which is currently unused because its annotation is not on screen.

If you define distinctly different types of annotations (with distinctly different annotation views to go with them), you can differentiate between the annotation types by specifying different reuse identifiers for each one.

See Also

Getting and Setting Attributes

var isEnabled: Bool

A Boolean value indicating whether the annotation is enabled.

var image: UIImage?

The image to be displayed by the annotation view.

var isHighlighted: Bool

A Boolean value indicating whether the annotation view is highlighted.

var annotation: MKAnnotation?

The annotation object currently associated with the view.

var centerOffset: CGPoint

The offset (in points) at which to display the view.

var calloutOffset: CGPoint

The offset (in points) at which to place the callout bubble.