搜索

首页  >  问答  >  正文

objective-c - 百度地图定位获取到的经纬度是0

用百度地图api定位,拿到的经纬度一直是0,代码如下

BMKLocationService *locationService = [[BMKLocationService alloc]init];
locationService.delegate = self;
[locationService startUserLocationService];
BMKUserLocation *location = locationService.userLocation;
ringa_leeringa_lee2753 天前454

全部回复(0)我来回复

暂无回复
  • 取消回复