//-------------------CLGeocoder位置反编码 - 5.0之后使用------------------------- CLGeocoder *geocoder = [[CLGeocoder alloc]init]; [geocoder reverseGeocodeLocation:newLocation completionHandler:^(NSArray *placemarks, NSError *error) { //遍历位置信息 for (CLPlacemark * place in placemarks) { NSLog(@"name,%@",place.name); //位置名称 NSLog(@"thoroughfare,%@",place.thoroughfare);//街道 NSLog( @"subThoroughfare,%@",place.subThoroughfare);//子街道 NSLog(@"locality,%@",place.locality);//市 NSLog(@"subLocality,%@",place.subLocality);//区 NSLog(@"country,%@",place.country);//国家 } }];//CLGeocoder的反编码 }
位置与地图:几种位置反编码方式,布布扣,bubuko.com
原文地址:http://blog.csdn.net/silvia__/article/details/36186445