实现这个方法- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view didChangeDragState:(MKAnnotationViewDragState)newState fromOldState:(MKAnnotationViewDragState)oldState我以前项目更新地址是这么实现的: 自定义一个YourAnnotation:MKAnnotation,继承自MKAnnotation。 在上述api中得到(YourAnnotation *)ann = [view annotation]; 使用ann的lat lon值通过google api获取详细地址。https://github.com/qdvictory/TellLoca... 这个比较全面,只是google今天不好使。
实现这个方法
我以前项目更新地址是这么实现的:
自定义一个YourAnnotation:MKAnnotation,继承自MKAnnotation。
在上述api中得到(YourAnnotation *)ann = [view annotation];
使用ann的lat lon值通过google api获取详细地址。
https://github.com/qdvictory/TellLoca... 这个比较全面,只是google今天不好使。