---
title: "init(proximityUUID:identifier:)"
framework: corelocation
role: symbol
role_heading: Initializer
path: "corelocation/clbeaconregion/init(proximityuuid:identifier:)"
---

# init(proximityUUID:identifier:)

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

## Declaration

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

Return Value An initialized beacon region object.

## Discussion

Discussion This method creates a region that results in the reporting of all beacons with the specified proximityUUID value. The system ignores the major and minor values of the beacons.

## See Also

### Deprecated

- [init(proximityUUID:major:identifier:)](corelocation/clbeaconregion/init(proximityuuid:major:identifier:).md)
- [init(proximityUUID:major:minor:identifier:)](corelocation/clbeaconregion/init(proximityuuid:major:minor:identifier:).md)
- [proximityUUID](corelocation/clbeaconregion/proximityuuid.md)
