ios 获取详细地理位置及经纬度

下载文件导入工程
链接: https://pan.baidu.com/s/1ddwnGMvPTdfARPjKKcezKA 提取码: 9ifa 复制这段内容后打开百度网盘手机App,操作更方便哦

代码使用如下:

#import "LocationManager.h"


    [LocationManager shareInstance].didStart = YES;
    [[LocationManager shareInstance] startSerialLocationSuccess:^(NSString *city) {
        HKLog(@"详细地址---%@",city);
        HKLog(@"纬经度---%@--%@",[LocationManager shareInstance].currentLatitude,[LocationManager shareInstance].currentLongitude);
    } locationStyle:LocationStyleAddress];



推荐阅读更多精彩内容