<!--
{
  "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/CLBeaconRegion/init(beaconIdentityConstraint:identifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLBeaconRegion(im)initWithBeaconIdentityConstraint:identifier:"
  },
  "title" : "init(beaconIdentityConstraint:identifier:)"
}
-->

# init(beaconIdentityConstraint:identifier:)

Creates and returns a region object that targets beacons that satisfy the specified beacon identity constraints.

```
init(beaconIdentityConstraint: CLBeaconIdentityConstraint, identifier: String)
```

## Parameters

`beaconIdentityConstraint`

A [`CLBeaconIdentityConstraint`](/documentation/CoreLocation/CLBeaconIdentityConstraint) that describes the characteristics of beacons for the framework to target.

`identifier`

A unique identifier to associate with the returned region object. You use this identifier to differentiate regions within your app. This value can’t be `nil`.

## Discussion

---

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)