【发布时间】:2015-03-03 19:28:07
【问题描述】:
我正在处理用户可能会在手机上关闭定位服务的潜在情况。
现在,我有:
func locationManager(manager: CLLocationManager!, didChangeAuthorizationStatus status: CLAuthorizationStatus) {
if status == .Authorized || status == .AuthorizedWhenInUse {
manager.startUpdatingLocation()
} else {
manager.stopUpdatingLocation()
}
}
我认为这将在用户进入设置并亲自更改我的应用程序设置时触发。每当用户关闭所有应用程序的定位服务时,这是否也会触发?文档似乎没有详细说明。
【问题讨论】:
标签: ios ios8 core-location