Share via


CLLocationManager.Status Property

Definition

The authorization status of the app (e.g., if the app is denied access to location services).

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreLocation.CLAuthorizationStatus Status { [Foundation.Export("authorizationStatus")] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("authorizationStatus")>]
static member Status : CoreLocation.CLAuthorizationStatus

Property Value

The value is determined by the user's interaction with the standard permissions dialog.

Attributes

Remarks

See the "Requesting Authorization" discussion in the class-level remarks: CLLocationManager.

Applies to

See also