DeclaredAgeRange lets your app request the age range of the person logged onto the current device so you can manage content access appropriately. Use AgeRangeService to make the request, and respond to the results through DeclaredAgeRangeAction and SignificantUpdateAction. The framework is available on iOS and macOS.
Requesting an Age Range 1
Request the declared age range of the person logged onto the current device.
- StAgeRangeServiceA request for the age range of a person
Responding to Results 2
Handle the outcome of an age-range request and react to later changes.
- StDeclaredAgeRangeActionAn action that requests a person's age range.
- StSignificantUpdateActionAn action that presents a system interface for significant app update acknowledgments.
Extends 1
EnvironmentValues