An annotation view that displays a pin image on the map.
- iOS 3.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.2+
Return instances of this class from the
map method of your map view delegate when you want to display a pin for one of your annotations. The pins displayed by this view are the same ones found in the Maps application. You can specify the type of pin you want to display and whether you want the pin to be animated into place.