Type Method


Returns the standard color for purple pins.


iOS, Mac Catalyst, tvOS
class func purplePinColor() -> UIColor
class func purplePinColor() -> NSColor

Return Value

The purple pin color.


The system uses purple pins to indicate user-specified points on the map.

See Also

Getting Standard Pin Colors

class func redPinColor() -> UIColor

Returns the standard color for red pins.

class func greenPinColor() -> UIColor

Returns the standard color for green pins.

enum MKPinAnnotationColor

The supported colors for pin annotations.


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