Contents

mapView(_:regionDidChangeAnimated:)

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

Declaration

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

Parameters

  • mapView:

    The map view with the visible region that changes.

  • animated:

    If True, the map view animates the change to the new region.

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