Enumeration Case

CLAuthorizationStatus.restricted

The app is not authorized to use location services.

Declaration

case restricted = 1

Discussion

The user cannot change this app’s status, possibly due to active restrictions such as parental controls being in place.

See Also

Authorization Status

case notDetermined

The user has not chosen whether the app can use location services.

case denied

The user denied the use of location services for the app or they are disabled globally in Settings.

static var authorized: CLAuthorizationStatus

The user authorized the app to use location services.

case authorizedAlways

The user authorized the app to start location services at any time.

case authorizedWhenInUse

The user authorized the app to start location services while it is in use.