<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLBeacon",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLBeacon"
  },
  "title" : "CLBeacon"
}
-->

# CLBeacon

Information about an observed iBeacon device and its relative distance to a person’s device.

```
class CLBeacon
```

## Overview

The [`CLBeacon`](/documentation/CoreLocation/CLBeacon) class represents a beacon that was observed during beacon ranging. You do not create instances of this class directly. The location manager ([`CLLocationManager`](/documentation/CoreLocation/CLLocationManager)) object reports observed beacons to its associated delegate object.

The identity of a beacon is defined by its [`uuid`](/documentation/CoreLocation/CLBeacon/uuid), [`major`](/documentation/CoreLocation/CLBeacon/major), and [`minor`](/documentation/CoreLocation/CLBeacon/minor) properties. These values are coded into the beacon itself. For a more thorough description of the meaning of those values, see [`CLBeaconRegion`](/documentation/CoreLocation/CLBeaconRegion).

## Topics

### Getting the beacon identity

[`UUID`](/documentation/CoreLocation/CLBeacon/uuid)

The UUID that the observed beacon transmitted.

[`major`](/documentation/CoreLocation/CLBeacon/major)

The major value that the observed beacon transmitted.

[`minor`](/documentation/CoreLocation/CLBeacon/minor)

The minor value that the observed beacon transmitted.

[`proximityUUID`](/documentation/CoreLocation/CLBeacon/proximityUUID)

The proximity ID of the beacon.

### Determining the distance to the beacon

[`proximity`](/documentation/CoreLocation/CLBeacon/proximity)

The relative distance to the beacon.

[`CLProximity`](/documentation/CoreLocation/CLProximity)

Constants that reflect the relative distance to a beacon.

[`accuracy`](/documentation/CoreLocation/CLBeacon/accuracy)

The accuracy of the proximity value, measured in meters from the beacon.

[`rssi`](/documentation/CoreLocation/CLBeacon/rssi)

The received signal strength of the beacon, measured in decibels.

### Getting the observation timestamp

[`timestamp`](/documentation/CoreLocation/CLBeacon/timestamp)

A timestamp representing when the beacon was observed.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)