편집

다음을 통해 공유


CLLocationManager.Status Property

Definition

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

public static CoreLocation.CLAuthorizationStatus Status { [Foundation.Export("authorizationStatus")] get; }
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreLocation.CLAuthorizationStatus Status { [Foundation.Export("authorizationStatus")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.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

  • <xref:CoreLocation.AuthorizationChanged>