Share via


MKMapViewDelegate_Extensions.GetViewForAnnotation Method

Definition

Returns the MKAnnotationView associated with the annotation.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MapKit.MKAnnotationView? GetViewForAnnotation(this MapKit.IMKMapViewDelegate This, MapKit.MKMapView mapView, MapKit.IMKAnnotation annotation);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetViewForAnnotation : MapKit.IMKMapViewDelegate * MapKit.MKMapView * MapKit.IMKAnnotation -> MapKit.MKAnnotationView

Parameters

mapView
MKMapView
annotation
IMKAnnotation

Returns

Attributes

Applies to