Information about an observed iBeacon device and its relative distance to the user’s device.
SDKs
- iOS 7.0+
- Mac Catalyst 13.0+
Framework
- Core Location
Declaration
@interface CLBeacon : NSObject
Overview
The CLBeacon
class represents a beacon that was observed during beacon ranging. You do not create instances of this class directly. The location manager (CLLocation
) object reports observed beacons to its associated delegate object.
The identity of a beacon is defined by its UUID
, major
, and minor
properties. These values are coded into the beacon itself. For a more thorough description of the meaning of those values, see CLBeacon
.