Share via


MKAnnotationView.DragState 属性

定义

获取或设置批注视图的拖动状态。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MapKit.MKAnnotationViewDragState DragState { [Foundation.Export("dragState")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setDragState:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.DragState : MapKit.MKAnnotationViewDragState with get, set

属性值

属性

注解

开发人员不应为将在 iOS 4.1 或更高版本上运行的应用程序设置此属性。 开发人员应改为在这些版本上使用 来管理拖动状态 SetDragState(MKAnnotationViewDragState, Boolean)

适用于