Instance Method

mapViewDidChangeVisibleRegion(_:)

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

Declaration

optional func mapViewDidChangeVisibleRegion(_ mapView: MKMapView)

Parameters

mapView

The map view whose visible region changed.

Discussion

Use this method to update the map in response to intermediate changes to the region. The map view calls this method each time the value of its visible region changes.

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 mapView(MKMapView, regionDidChangeAnimated: Bool)

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