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

# CLBeaconIdentityConstraint

Identity characteristics that can match one or more beacons.

```
class CLBeaconIdentityConstraint
```

## Overview

A constraint specifies beacon identity characteristics. Use constraints to check for matching beacons by comparing the beacon’s identity characteristics ([`uuid`](/documentation/CoreLocation/CLBeacon/uuid), [`major`](/documentation/CoreLocation/CLBeacon/major), and [`minor`](/documentation/CoreLocation/CLBeacon/minor)) to those in the constraint.

Constraints always specify a UUID value, but the major and minor values are optional. A beacon satisfies the constraint if all three identity characteristics of the beacon match the same characteristic of the constraint. Major and minor characteristics are wildcards if they have no value. A major or minor wildcard value matches any value in the beacon’s corresponding characteristic.

## Topics

### Getting the beacon identity

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

The constraint’s value for the major identity characteristic.

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

The constraint’s value for the minor identity characteristic.



---

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)