当用户在弹出窗口“应用程序要使用您的当前位置”中按下“不允许”时,我想打开一个弹出窗口。有任何委托方法吗?
最佳答案
Don't you dare reading the documentation...
- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
{
if (status == kCLAuthorizationStatusDenied) {
// FA1LZ
}
}