Editar

Compartir a través de


MKAnnotationView.SetDragState(MKAnnotationViewDragState, Boolean) Method

Definition

Sets the drag state of the annotation view.

[Foundation.Export("setDragState:animated:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetDragState (MapKit.MKAnnotationViewDragState newDragState, bool animated);
abstract member SetDragState : MapKit.MKAnnotationViewDragState * bool -> unit
override this.SetDragState : MapKit.MKAnnotationViewDragState * bool -> unit

Parameters

animated
Boolean
Attributes

Remarks

Developers must use this method to manage the drag state of the annotation view on iOS 4.1 or later.

Applies to