摘要:
1.导入头文件#import #import 2.为成员变量mapView添加手势识别1 - (void)viewDidLoad2 {3 [super viewDidLoad]; 4 // 添加手势识别5 [self.mapView addGestureRecognizer:... 阅读全文
摘要:
1.构建UI ,导入MapKit框架#import 2.添加成员变量,并连线- (IBAction)backUserLocation;@property (weak, nonatomic) IBOutlet MKMapView *mapView;3.基础设置 1 - (void)viewDidLoa... 阅读全文
摘要:
1.UI搭建,import头文件#import 2.添加成员变量,并连线 1 - (IBAction)geocodeButton; 2 @property (weak, nonatomic) IBOutlet UITextField *inputAddress; 3 @property (weak,... 阅读全文