<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocationManager/distanceFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLLocationManager(py)distanceFilter"
  },
  "title" : "distanceFilter"
}
-->

# distanceFilter

The minimum distance in meters the device must move horizontally before an update event is generated.

```
var distanceFilter: CLLocationDistance { get set }
```

## Discussion

This location manager measures this relative to the previously delivered location. Specify the value [`kCLDistanceFilterNone`](/documentation/CoreLocation/kCLDistanceFilterNone) to receive notifications for all movements. The default value of this property is [`kCLDistanceFilterNone`](/documentation/CoreLocation/kCLDistanceFilterNone).

Use this property only in conjunction with the Standard location services and not with the Significant-change or Visits services.

### Special Considerations

In iOS, this property is declared as `nonatomic`. In macOS, it is declared as `atomic`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)