@property (nonatomic, strong) UIButton *gpsButton;
if(self.mapView.userLocation.updating && self.mapView.userLocation.location) {
[self.mapView setCenterCoordinate:self.mapView.userLocation.location.coordinate animated:YES];
[self.gpsButton setSelected:YES];
}
网友评论