---
title: "locationManager(_:didRange:satisfying:)"
framework: corelocation
role: symbol
role_heading: Instance Method
path: "corelocation/cllocationmanagerdelegate/locationmanager(_:didrange:satisfying:)"
---

# locationManager(_:didRange:satisfying:)

Tells the delegate that the location manager detected at least one beacon that satisfies the provided constraint.

## Declaration

```swift
optional func locationManager(_ manager: CLLocationManager, didRange beacons: [CLBeacon], satisfying beaconConstraint: CLBeaconIdentityConstraint)
```

## Parameters

- `manager`: The doc://com.apple.corelocation/documentation/CoreLocation/CLLocationManager that corresponds to this delegate.
- `beacons`: An array of doc://com.apple.corelocation/documentation/CoreLocation/CLBeacon objects.
- `beaconConstraint`: The doc://com.apple.corelocation/documentation/CoreLocation/CLBeaconIdentityConstraint that describes the characteristics of the beacons the location manager is looking for.

## See Also

### Receiving beacon-related updates

- [locationManager(_:didFailRangingFor:error:)](corelocation/cllocationmanagerdelegate/locationmanager(_:didfailrangingfor:error:).md)
- [locationManager(_:didRangeBeacons:in:)](corelocation/cllocationmanagerdelegate/locationmanager(_:didrangebeacons:in:).md)
- [locationManager(_:rangingBeaconsDidFailFor:withError:)](corelocation/cllocationmanagerdelegate/locationmanager(_:rangingbeaconsdidfailfor:witherror:).md)
