Reputation: 1897
what is the difference between distanceFilter and desiredAccuracy of CoreLocationManager. To get the current location updates do I need to set these two values?
Upvotes: 5
Views: 623
Reputation: 75077
distanceFilter is how far the user must move, in order for a new location update to be issued by the system.
desiredAccuracy is how long the device will keep trying more and more accurate methods to get the current location. If you set this really high cell towers may be enough and it won't even wake up the GPS, saving battery.
Upvotes: 3