---
title: isEnabled
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkannotationview/isenabled
---

# isEnabled

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

## Declaration

```swift
var isEnabled: Bool { get set }
```

## Discussion

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

- [image](mapkit/mkannotationview/image.md)
- [isHighlighted](mapkit/mkannotationview/ishighlighted.md)
- [annotation](mapkit/mkannotationview/annotation.md)
- [centerOffset](mapkit/mkannotationview/centeroffset.md)
- [calloutOffset](mapkit/mkannotationview/calloutoffset.md)
- [reuseIdentifier](mapkit/mkannotationview/reuseidentifier.md)
