---
title: isSelected
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkannotationview/isselected
---

# isSelected

A Boolean value that indicates whether the annotation view is in a selected state.

## Declaration

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

## Discussion

Discussion Don’t set the value of this property directly. If the property contains true, the annotation view is displaying a callout.

## See Also

### Managing the selection state

- [setSelected(_:animated:)](mapkit/mkannotationview/setselected(_:animated:).md)
