Instance Method

mapView(_:regionDidChangeAnimated:)

Tells the delegate that the region displayed by the map view just changed.

Declaration

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

Parameters

mapView

The map view whose visible region changed.

animated

If true, the change to the new region was animated.

Discussion

This method is called at the end of a change to the map's visible region.

See Also

Responding to Map Position Changes

func mapView(MKMapView, regionWillChangeAnimated: Bool)

Tells the delegate that the region displayed by the map view is about to change.

func mapViewDidChangeVisibleRegion(MKMapView)

Tells the delegate that the map view's visible region changed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software