Contents

upperBound

The maximum age in the person’s declared age range.

Declaration

var upperBound: Int?

Discussion

When this value is nil, there’s no upper bound to the person’s age range, indicating they meet or exceed the highest age gate specified by the requestAgeRange(ageGates:_:_:in:) methods (for example, requestAgeRange(ageGates:_:_:in:)).

When present, the value of this property equals the highest age gate that exceeds the person’s declared age, out of the age gates you supply to the method.

Consider this property together with lowerBound to gate your app’s content based on the person’s declared age range.

See Also

Fetching the age range