CLLocationManager.DisallowDeferredLocationUpdates 方法

定义

关闭延迟的后台位置更新。

[Foundation.Export("disallowDeferredLocationUpdates")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DisallowDeferredLocationUpdates ();
abstract member DisallowDeferredLocationUpdates : unit -> unit
override this.DisallowDeferredLocationUpdates : unit -> unit
属性

适用于

另请参阅

  • <xref:CoreLocation.CLLocationManager.AllowDeferredLocationUpdatesUntil>