---
title: pinColor
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkpinannotationview/pincolor
---

# pinColor

The color of the pin head.

## Declaration

```swift
var pinColor: MKPinAnnotationColor { get set }
```

## Discussion

Discussion The Maps application uses different pin colors for different types of map annotations. Your own map annotation should use the available pin colors in the same way. For a description of when to use each type of pin, see the constants of MKPinAnnotationColor.

## See Also

### Properties

- [filterType](mapkit/mklocalsearchcompleter/filtertype-swift.property.md)
- [showsPointsOfInterest](mapkit/mkmapview/showspointsofinterest.md)
- [showsPointsOfInterest](mapkit/mkmapsnapshotter/options/showspointsofinterest.md)
- [mapType](mapkit/mkmapsnapshotter/options/maptype.md)
