Instance Property

delegate

The receiver’s delegate.

Declaration

weak var delegate: MKMapViewDelegate? { get set }

Discussion

A map view sends messages to its delegate regarding the loading of map data and changes in the portion of the map being displayed. The delegate also manages the annotation views used to highlight points of interest on the map.

The delegate should implement the methods of the MKMapViewDelegate protocol.

See Also

Customizing the Map View Behavior

protocol MKMapViewDelegate

Optional methods that you use to receive map-related update messages.