iso 自有 正反编码
来源:互联网 发布:数据库三大范式好处 编辑:程序博客网 时间:2024/04/20 09:01
//// ViewController.m// GCoder//// Created by lcy on 16/1/14.// Copyright (c) 2016年 lcy. All rights reserved.//#import "ViewController.h"#import <MapKit/MapKit.h>//地名 ----> 地理信息//正向编码 (地名)//反向编码@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. CLGeocoder *coder = [[CLGeocoder alloc] init]; #if 0 //正向 [coder geocodeAddressString:@"深圳大学" completionHandler:^(NSArray *placemarks, NSError *error) { //CLPlacemark CLPlacemark *mark = placemarks[0]; //得到位置信息 NSLog(@"%@",mark.location); NSLog(@"%@",mark.addressDictionary); //街道信息 NSLog(@"%@",mark.thoroughfare); NSLog(@"%@",mark.administrativeArea); }];#endif //反向 [coder reverseGeocodeLocation:[[CLLocation alloc] initWithLatitude:22.533367 longitude:113.935404] completionHandler:^(NSArray *placemarks, NSError *error) { CLPlacemark *mark = placemarks[0]; //街道信息 NSLog(@"%@",mark.thoroughfare); NSLog(@"%@",mark.subThoroughfare); NSLog(@"%@",mark.addressDictionary[@"FormattedAddressLines"][0]); }];}- (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated.}@end
0 0
- iso 自有 正反编码
- ISO-8859-1 编码
- 取得各个国家ISO编码
- IOS网络笔记--地图内容2(正反向编码)
- Android-百度地图正反向编码功能实现
- 浅谈ISO/IEC 10646编码
- 关于ISO-8859-1编码
- 计算机基础:硬件编码 (二进制正反补码、大小端编码)
- myeclipse 遇到'ISO-8859-1'编码问题
- myeclipse 中的'ISO-8859-1'编码问题
- ErlIDE的ISO-8859-1编码问题
- [编码]ISO-8859-1
- C# 转换 ISO-8859-1 编码
- Unicode,ISO-10646,UTF8编码技术
- myeclipse 中的'ISO-8859-1'编码问题
- myeclipse 中的'ISO-8859-1'编码问题
- UTF-8 GBK ISO-8859-1编码
- UTF-8 GBK ISO-8859-1编码
- 【cocos2d-js网络教程篇】cocos2d-js http网络请求
- U3d基础知识1
- 子线程更新UI,牵扯activity的启动过程
- 【慕课笔记】4-3 字节流之文件输出流FileOutputStream
- 【TomoEngine】 第一讲 太空遨游(一) 创建太阳系
- iso 自有 正反编码
- java.lang.IndexOutOfBondsException:setSpan(3..3) ends beyond length 2
- React-约束组件及无约束组件详解
- Unity3D -- 快速排序
- 131.View the Exhibit and examine the structure of the PRODUCT, COMPONENT, and PDT_COMP tables.
- NSScanner 介绍
- ios开发 各种字体
- extjs labelalign有什么作用
- javascript的内置对象参考