标签: ios objective-c mkmapview mapkit
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation { mapView.region = MKCoordinateRegionMakeWithDistance(userLocation.location.coordinate, 100, 100); }
当我第一次设置区域时,主线程将被阻止。