Contents

isEnabled

A Boolean value that indicates whether the annotation is in an enabled state.

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 isn’t selectable. Subclasses may also display the annotation contents differently depending on the value of this property.

See Also

Getting and setting attributes