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

# init(proximityUUID:identifier:)

Creates and returns a region object that targets a beacon with the specified UUID.

```
init(proximityUUID: UUID, identifier: String)
```

## Parameters

`proximityUUID`

The unique ID of the beacons you’re targeting. This value can’t be `nil`.

`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`.

## Return Value

An initialized beacon region object.

## Discussion

This method creates a region that results in the reporting of all beacons with the specified `proximityUUID` value. The system ignores the [`major`](/documentation/CoreLocation/CLBeaconRegion/major) and [`minor`](/documentation/CoreLocation/CLBeaconRegion/minor) values of the beacons.

---

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)