In the CLLocationManager class documentation, I find such explanation for the distanceFilter property:
This property is used only in conjunction with the standard location
services and is not used when monitoring significant location changes.
Can you please explain it?
In
CLLocationManager,distanceFilteris used to notify changes when device has moved x meters. Default value iskCLDistanceFilterNone:all movements are reported.From the docs
That is why
distanceFilteris used only in conjunction with the standard location services and is not used when monitoring significant location changes eg.desiredAccuracyorheadinginfo.This is because generally it is not really useful to know that a person has moved x meters. However, it is very valuable to know that a person has moved x meters in y heading with z accuracy.