Tells the delegate that one or more beacons are in range.
- iOS 7.0+
- Core Location
The location manager object reporting the event.
An array of
CLBeaconobjects representing the beacons currently in range. If
beaconsis empty, you can assume that no beacons matching the specified region are in range. When a specific beacon is no longer in
beacons, that beacon is no longer received by the device. You can use the information in the
CLBeaconobjects to determine the range of each beacon and its identifying information.
The region object containing the parameters that were used to locate the beacons.
The location manager calls this method when a new set of beacons becomes available in the specified region or when a beacon goes out of range. The location manager also calls this method when the range of a beacon changes; for example, when a beacon gets closer.