CLLocationManager.requestLocation() takes about 10 seconds
问题 CLLocationManager.requestLocation() takes around 10 seconds to fire didUpdateLocations event. Here are the attributes set for the CLLocationManager let locationManager = CLLocationManager() locationManager.delegate = self locationManager.desiredAccuracy = kCLLocationAccuracyBest locationManager.distanceFilter = 10 locationManager.requestWhenInUseAuthorization() locationManager.requestLocation() As per the documentation this can take several seconds. This method returns immediately. Calling it