Instance Property

isEnabled

A Boolean value indicating whether the annotation is enabled.

Declaration

var isEnabled: Bool { get set }

Discussion

The default value of this property is true. If the value of this property is false, the annotation view ignores touch events and cannot be selected. Subclasses may also display the annotation contents differently depending on the value of this property.

See Also

Getting and Setting Attributes

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.

var reuseIdentifier: String?

The string that identifies that this annotation view is reusable.