谁能更清楚地解释CLError?
(kCLErrorLocationUnknown,kCLErrorDenied,kCLErrorNetwork,kCLErrorHeadingFailure,kCLErrorRegionMonitoringDenied,kCLErrorRegionMonitoringFailure,kCLErrorRegionMonitoringSetupDelayed)
(kCLErrorLocationUnknown,kCLErrorDenied,kCLErrorNetwork,kCLErrorHeadingFailure,kCLErrorRegionMonitoringDenied,kCLErrorRegionMonitoringFailure,kCLErrorRegionMonitoringSetupDelayed)
解决方法
比
the documentation好吗?
kCLErrorLocationUnknown
The location manager was unable to obtain a location value right now.
kCLErrorDenied
Access to the location service was denied by the user.
kCLErrorNetwork
The network was unavailable or a network error occurred.
kCLErrorHeadingFailure
The heading could not be determined.
kCLErrorRegionMonitoringDenied
Access to the region monitoring service was denied by the user.
kCLErrorRegionMonitoringFailure
A registered region cannot be monitored.
kCLErrorRegionMonitoringSetupDelayed
Core Location could not initialize the region monitoring feature immediately.