iOS 11及以上版本App获取定位权限失败的问题

[AMapLocationKit] 要在iOS 11及以上版本使用后台定位服务, 需要实现amapLocationManager:doRequireLocationAuth: 代理方法问题及解决方案

- (void)amapLocationManager:(AMapLocationManager *)manager doRequireLocationAuth:(CLLocationManager*)locationManager
{
    [locationManager requestAlwaysAuthorization];
}

by:liming

猜你喜欢

转载自www.cnblogs.com/widgetbox/p/12369535.html