---
title: "mapView(_:regionDidChangeAnimated:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkmapviewdelegate/mapview(_:regiondidchangeanimated:)"
---

# mapView(_:regionDidChangeAnimated:)

Tells the delegate when the region the map view is displaying changes.

## Declaration

```swift
optional func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool)
```

## Parameters

- `mapView`: The map view with the visible region that changes.
- `animated`: If doc://com.apple.documentation/documentation/Swift/true, the map view animates the change to the new region.

## Discussion

Discussion The map view calls this method at the end of a change to the map’s visible region.

## See Also

### Responding to map position changes

- [mapView(_:regionWillChangeAnimated:)](mapkit/mkmapviewdelegate/mapview(_:regionwillchangeanimated:).md)
- [mapViewDidChangeVisibleRegion(_:)](mapkit/mkmapviewdelegate/mapviewdidchangevisibleregion(_:).md)
