Information about a person's age range based on their response to your age range request.
This provides the minimum information necessary for you to make content decisions
while protecting the person's privacy. Rather than receiving an exact age, you receive age range bounds
that correspond to your specified age gates.
For more information about requesting age ranges, refer to ``requestAgeRange(ageGates:_:_:in:)``.
Members (8)
get · iOS 26.0+
ageRangeDeclaration
TypeScript
get ageRangeDeclaration(): (AgeRangeService_AgeRangeDeclaration) | null
Swift declaration
var ageRangeDeclaration: AgeRangeService.AgeRangeDeclaration?
Information about how the person set their age range.
This property provides context about the reliability and source of the age information.
Use this information to determine the appropriate level of content restriction
required for your app's features.
For more information about declaration types, refer to ``AgeRangeService/AgeRangeDeclaration``.
set · iOS 26.0+
ageRangeDeclaration
TypeScript
set ageRangeDeclaration(value: (AgeRangeService_AgeRangeDeclaration) | null)
Swift declaration
var ageRangeDeclaration: AgeRangeService.AgeRangeDeclaration?
Information about how the person set their age range.
This property provides context about the reliability and source of the age information.
Use this information to determine the appropriate level of content restriction
required for your app's features.
For more information about declaration types, refer to ``AgeRangeService/AgeRangeDeclaration``.
get · iOS 26.0+
lowerBound
TypeScript
get lowerBound(): (number) | null
Swift declaration
var lowerBound: Int?
The minimum age in the person's declared age range.
When this value is `nil`, the person's age range is below your lowest specified age, indicating
they are under your minimum age requirement. When the value is present, it represents the lowest
age that the person meets or exceeds.
For example, if you specify ``ageGates`` of `13`, `16`, and `18`, and receive a `lowerBound` of `16`,
the person is at least `16` years old, but may or may not be `18` or older.
set · iOS 26.0+
lowerBound
TypeScript
set lowerBound(value: (number) | null)
Swift declaration
var lowerBound: Int?
The minimum age in the person's declared age range.
When this value is `nil`, the person's age range is below your lowest specified age, indicating
they are under your minimum age requirement. When the value is present, it represents the lowest
age that the person meets or exceeds.
For example, if you specify ``ageGates`` of `13`, `16`, and `18`, and receive a `lowerBound` of `16`,
the person is at least `16` years old, but may or may not be `18` or older.
get · iOS 26.0+
upperBound
TypeScript
get upperBound(): (number) | null
Swift declaration
var upperBound: Int?
The maximum age in the person's declared age range.
When this value is `nil`, there's no upper bound to the person's age range, indicating they
meet or exceed your highest ``ageGate``. When present, this value represents the highest ``ageGate``
the person is confirmed to be under.
Use with `lowerBound` to provide age range boundaries
for content decision making.
set · iOS 26.0+
upperBound
TypeScript
set upperBound(value: (number) | null)
Swift declaration
var upperBound: Int?
The maximum age in the person's declared age range.
When this value is `nil`, there's no upper bound to the person's age range, indicating they
meet or exceed your highest ``ageGate``. When present, this value represents the highest ``ageGate``
the person is confirmed to be under.
Use with `lowerBound` to provide age range boundaries
for content decision making.
get · iOS 26.0+
activeParentalControls
TypeScript
get activeParentalControls(): AgeRangeService_ParentalControls
Swift declaration
var activeParentalControls: AgeRangeService.ParentalControls
The parental controls that are active on the device.
It's important to note that the minimum age of legal adulthood varies depending on the region associated
with someone's Apple account. If ``activeParentalControls`` is empty, either the device
doesn't have parental controls enabled as part of the response or a person's age doesn't fall into the
reporting range for the specific region.
set · iOS 26.0+
activeParentalControls
TypeScript
set activeParentalControls(value: AgeRangeService_ParentalControls)
Swift declaration
var activeParentalControls: AgeRangeService.ParentalControls
The parental controls that are active on the device.
It's important to note that the minimum age of legal adulthood varies depending on the region associated
with someone's Apple account. If ``activeParentalControls`` is empty, either the device
doesn't have parental controls enabled as part of the response or a person's age doesn't fall into the
reporting range for the specific region.