---
title: major
framework: corelocation
role: symbol
role_heading: Instance Property
path: corelocation/clbeaconregion/major
---

# major

The major value from the beacon identity constraint that defines the beacon region.

## Declaration

```swift
@NSCopying var major: NSNumber? { get }
```

## Discussion

Discussion If you don’t specify a major value for the beacon, the value of this property is nil. Operations that compare a beacon’s identity characteristics with the constraint’s characteristics ignore the major value if this property is nil.

## See Also

### Getting the beacon identity

- [uuid](corelocation/clbeaconregion/uuid.md)
- [minor](corelocation/clbeaconregion/minor.md)
- [beaconIdentityConstraint](corelocation/clbeaconregion/beaconidentityconstraint.md)
