Edit

Share via


MKMapViewDelegate.GetViewForAnnotation(MKMapView, IMKAnnotation) Method

Definition

Returns the MKAnnotationView associated with the annotation.

[Foundation.Export("mapView:viewForAnnotation:")]
public virtual MapKit.MKAnnotationView GetViewForAnnotation (MapKit.MKMapView mapView, MapKit.IMKAnnotation annotation);
abstract member GetViewForAnnotation : MapKit.MKMapView * MapKit.IMKAnnotation -> MapKit.MKAnnotationView
override this.GetViewForAnnotation : MapKit.MKMapView * MapKit.IMKAnnotation -> MapKit.MKAnnotationView

Parameters

mapView
MKMapView
annotation
IMKAnnotation

Returns

Attributes

Applies to