Share via


CLLocationManager.AllowsBackgroundLocationUpdates Property

Definition

Gets or sets a Boolean value that controls whether the application will respond to location updates while it is suspended.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool AllowsBackgroundLocationUpdates { [Foundation.Export("allowsBackgroundLocationUpdates")] get; [Foundation.Export("setAllowsBackgroundLocationUpdates:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("allowsBackgroundLocationUpdates")>]
[<set: Foundation.Export("setAllowsBackgroundLocationUpdates:")>]
member this.AllowsBackgroundLocationUpdates : bool with get, set

Property Value

Attributes

Applies to