在完成高德基本的导入和修改plist之后 ,实现定位和逆地理编码
#import "ViewController.h"
#import <CoreLocation/CoreLocation.h>
@interfaceViewController ()
@property (nonatomic,strong) MAPointAnnotation *pointAnnotaiton;
@property (nonatomic,strong) UISegmentedControl *showSegment;
@property (nonatomic,strong) UIButton *button;
@property (nonatomic,strong) UIButton *button1;
@property (nonatomic,copy) AMapLocatingCompletionBlock completionBlock;
@property(nonatomic,strong)CLGeocoder *geocoder;
@end
@implementation ViewController
-(CLGeocoder *)geocoder
{
if (_geocoder==nil) {
_geocoder=[[CLGeocoderalloc]init