---
title: reuseIdentifier
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkannotationview/reuseidentifier
---

# reuseIdentifier

The string that identifies that the annotation view is reusable.

## Declaration

```swift
var reuseIdentifier: String? { get }
```

## Discussion

Discussion You specify the reuse identifier when you create the view. You use this type to retrieve an annotation view that MapKit isn’t currently using because its annotation isn’t onscreen. 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

- [isEnabled](mapkit/mkannotationview/isenabled.md)
- [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)
