<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLBeaconIdentityCondition",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLBeaconIdentityCondition"
  },
  "title" : "CLBeaconIdentityCondition"
}
-->

# CLBeaconIdentityCondition

A condition that describes the identity characteristics of a beacon.

```
@interface CLBeaconIdentityCondition : CLCondition
```

## Overview

Core Location defines a beacon identity by UUID, and major and minor values. You need to specify the UUID. If you only specify a UUID, the framework treats the major and minor values as wildcards and any beacons with the same UUID satisfy the condition. Similarly, if you specify only a UUID and a major value, the framework treats the minor value as a wildcard and any beacons with the same UUID and major value satisfy the condition.

## Topics

### Creating beacon identity conditions

[`initWithUUID:`](/documentation/CoreLocation/CLBeaconIdentityCondition/initWithUUID:)

Creates a new beacon identity condition with the identifier you specify.

[`initWithUUID:major:`](/documentation/CoreLocation/CLBeaconIdentityCondition/initWithUUID:major:)

Creates a new beacon identity condition with the identifier and major value you specify.

[`initWithUUID:major:minor:`](/documentation/CoreLocation/CLBeaconIdentityCondition/initWithUUID:major:minor:)

Creates a new beacon identity condition with the identifier, and major and minor values you specify.

### Accessing the beacon’s properties

[`UUID`](/documentation/CoreLocation/CLBeaconIdentityCondition/UUID)

A universally unique identifier that represent the beacon’s identifier.

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

The most significant value associated with the beacon.

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

The least significant value associated with the beacon.



---

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)