Enumeration

CLError.Code

Error codes returned by the location manager object.

Overview

Errors are delivered to the delegate using an NSError object.

Topics

Constants

case locationUnknown

A constant indicating that the location manager was unable to obtain a location value right now.

case denied

A constant indicating that access to the location service was denied by the user.

case network

A constant indicating that the network was unavailable or a network error occurred.

case headingFailure

A constant indicating that the heading could not be determined.

case regionMonitoringDenied

A constant indicating that access to the region monitoring service was denied by the user.

case regionMonitoringFailure

A constant indicating that a registered region cannot be monitored.

case regionMonitoringSetupDelayed

A constant indicating that Core Location could not initialize the region monitoring feature immediately.

case regionMonitoringResponseDelayed

A constant indicating thatCore Location will deliver events but they may be delayed.

case geocodeFoundNoResult

A constant indicating that the geocode request yielded no result.

case geocodeFoundPartialResult

A constant indicating that the geocode request yielded a partial result.

case geocodeCanceled

A constant indicating that the geocode request was canceled.

case deferredFailed

A constant indicating that the location manager did not enter deferred mode for an unknown reason.

case deferredNotUpdatingLocation

A constant indicating that the location manager did not enter deferred mode because location updates were already disabled or paused.

case deferredAccuracyTooLow

A constant indicating that deferred mode is not supported for the requested accuracy.

case deferredDistanceFiltered

A constant indicating that deferred mode does not support distance filters.

case deferredCanceled

A constant indicating that the request for deferred updates was canceled by your app or by the location manager.

case rangingUnavailable

A constant indicating that ranging is disabled.

case rangingFailure

A constant indicating that a general ranging error occurred.

See Also

Errors

struct CLError

A Core Location error.

let kCLErrorUserInfoAlternateRegionKey: String

A key in the user information dictionary of an error relating to a delayed region monitoring response.

let kCLErrorDomain: String

The domain for Core Location errors.