2017年11月7日
摘要: #import <MAMapKit/MAMapKit.h> #import "MLFoundCarModel.h" @protocol MLCustomerAnnotationviewDelegate<NSObject> -(void)clickAnnotionView:(NSString * )I 阅读全文
posted @ 2017-11-07 10:26 廖利君 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: 高德地图 运用场景:先获取本机经纬度 ,从服务端获取周围的小区和停车场的经纬度,通过服务端返回的type赋值给大头针的title来判断是小区还是停车场 1,首先实例化地图 #import <MapKit/MapKit.h> #import <AMapSearchKit/AMapSearchKit.h 阅读全文
posted @ 2017-11-07 10:00 廖利君 阅读(3010) 评论(0) 推荐(0) 编辑
摘要: /** dispatch_async 函数会将传入的block块放入指定的queue里运行。这个函数是异步的,这就意味着它会立即返回而不管block是否运行结束。因此,我们可以在block里运行各种耗时的操作(如网络请求) 而同时不会阻塞UI线程。 **/ /** dispatch_get_glob 阅读全文
posted @ 2017-11-07 09:43 廖利君 阅读(608) 评论(0) 推荐(0) 编辑