iphone – 谁能更清楚地解释CLError(kCLErrorLocationUnknown,kCLErrorDenied,kCLErrorNetwork ……)?

前端之家收集整理的这篇文章主要介绍了iphone – 谁能更清楚地解释CLError(kCLErrorLocationUnknown,kCLErrorDenied,kCLErrorNetwork ……)?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
谁能更清楚地解释CLError?
(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.

猜你在找的Xcode相关文章