Initializer

init(proximityUUID:identifier:)

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

Declaration

init(proximityUUID: UUID, identifier: String)

Parameters

proximityUUID

The unique ID of the beacons being targeted. This value must not be nil.

identifier

A unique identifier to associate with the returned region object. You use this identifier to differentiate regions within your application. This value must not 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 major and minor values of the beacons are ignored.

See Also

Initializing the Beacon Region

init(beaconIdentityConstraint: CLBeaconIdentityConstraint, identifier: String)

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

Beta
init(uuid: UUID, identifier: String)

Initializes and returns a region object that targets beacons with the specified UUID.

Beta
init(uuid: UUID, major: CLBeaconMajorValue, identifier: String)

Initializes and returns a region object that targets beacons with the specified UUID and major value.

Beta
init(uuid: UUID, major: CLBeaconMajorValue, minor: CLBeaconMinorValue, identifier: String)

Initializes and returns a region object that targets beacons with the specified UUID, major, and minor values.

Beta
init(proximityUUID: UUID, major: CLBeaconMajorValue, identifier: String)

Initializes and returns a region object that targets a beacon with the specified proximity ID and major value.

Deprecated
init(proximityUUID: UUID, major: CLBeaconMajorValue, minor: CLBeaconMinorValue, identifier: String)

Initializes and returns a region object that targets a beacon with the specified proximity ID, major value, and minor value.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software