首页 > 代码库 > MKMapView地图移动事件

MKMapView地图移动事件

MKMapView地图移动事件

by 伍雪颖

-(void)mapView:(MKMapView *)mapView regionWillChangeAnimated:(BOOL)animated {
    NSLog(@"going");
    [self.view endEditing:YES];
}

- (void)mapView: (MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated {
    NSLog(@"changed");
}