MKMapViewDelegate_Extensions.GetViewForAnnotation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- This
- IMKMapViewDelegate
- mapView
- MKMapView
- annotation
- IMKAnnotation
Returns
- Attributes