init(uuid:major:minor:identifier:)
Creates and returns a region object that targets beacons with the specified UUID, and major and minor values.
Declaration
init(uuid: UUID, major: CLBeaconMajorValue, minor: CLBeaconMinorValue, identifier: String)Parameters
- uuid:
A Nsuuid that identifies the beacons to target.
- major:
The Clbeaconmajorvalue that characterizes beacons for this region to target.
- minor:
The Clbeaconminorvalue that characterizes beacons for this region 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.