Contents

addAnnotations(_:)

Adds an array of annotation objects to the map view.

Declaration

func addAnnotations(_ annotations: [any MKAnnotation])

Parameters

  • annotations:

    An array of annotation objects. Each object in the array must conform to the Mkannotation protocol. The map view retains the individual annotation objects.

See Also

Annotating the map