共用方式為


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>