<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapView/showAnnotations(_:animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapView(im)showAnnotations:animated:"
  },
  "title" : "showAnnotations(_:animated:)"
}
-->

# showAnnotations(_:animated:)

Sets the visible region so that the map displays the specified annotations.

```
func showAnnotations(_ annotations: [any MKAnnotation], animated: Bool)
```

## Parameters

`annotations`

The annotations that you want to be visible on the map.

`animated`

Specify <doc://com.apple.documentation/documentation/Swift/true> if you want the map view to animate the region change, or <doc://com.apple.documentation/documentation/Swift/false> if you want the map to display the new region immediately without animations.

## Discussion

Calling this method updates the value in the [`region`](/documentation/MapKit/MKMapView/region) property, and potentially other properties, to reflect the new map region.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)