Instance Property

pinColor

The color of the pin head.

Declaration

var pinColor: MKPinAnnotationColor { get set }

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

Getting and Setting Attributes

var pinTintColor: UIColor!

The color of the pin head.

var animatesDrop: Bool

A Boolean value indicating whether the annotation view is animated onto the screen.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software