MKAnnotationView.Annotation MKAnnotationView.Annotation Property


Gets or sets the annotation object for the view.

[get: Foundation.Export("annotation", ObjCRuntime.ArgumentSemantic.Strong)]
[set: Foundation.Export("setAnnotation:", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual MapKit.IMKAnnotation Annotation { get; set; }
member this.Annotation : MapKit.IMKAnnotation with get, set

Property Value


Developers should not set this property. The property value is non-null only when the annotation is visible.

This can be used from a background thread.

Applies to