Hello i am using location in iOS app i set the accuracy like this:
locationManager.desiredAccuracy = kCLLocationAccuracyHundredMeters
and i am using this function to check the accuracy
func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
print(manager.location!.horizontalAccuracy)
if locations.last!.horizontalAccuracy <= manager.desiredAccuracy{
print(manager.location)
location = locations.last!
locationManager.stopUpdatingLocation()
locationManager = nil
}
}
The problem is that the accuracy stack to 1414 and never goes to 100. Is there any way to fix that problem?