CLAuthorizationStatus Enum

Definition

An enumeration whose values specify the current status of authorization to use location services.

public enum CLAuthorizationStatus
type CLAuthorizationStatus = 
Inheritance
CLAuthorizationStatus

Fields

Authorized 3

Developers should not use this deprecated field. Developers should use 'AuthorizedAlways' instead.

AuthorizedAlways 3
AuthorizedWhenInUse 4
Denied 2

The app is not allowed to use location services.

NotDetermined 0

The user has not yet chosen whether to allow location services.

Restricted 1

Location services are not available and the user cannot change the authorization (e.g., constrained by parental controls).

Applies to