用百度地图api定位,拿到的经纬度一直是0,代码如下
BMKLocationService *locationService = [[BMKLocationService alloc]init];
locationService.delegate = self;
[locationService startUserLocationService];
BMKUserLocation *location = locationService.userLocation;
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
ringa_lee