I am trying to acquire the current location on an iOS device (in particular, on my iPhone).
I am using this Apple example.
The timeout before calling callUpdatingLocations is 60 seconds.
When I set the desired function to be kCLLocationAccuracyHundredMeters, only 3 new Locations arrive in doUpdateToLocation: fromLocation. The first one is cached, a long time ago. The next two ALSOs have time stamps of more than 15 seconds, despite the fact that all 3 arrive within 5 seconds. All three of them contain poor horizontal accuracy. On the other hand, when I set the required accuracy for kCLLocationAccuracyNearestTenMeters, newLocations keep coming until I get the appropriate, accurate. My wifi is disconnected and i am indoors.
My question is: why when using kCLLocationAccuracyHundredMeters precision I stop receiving updates earlier?
source
share