Age Range API - Sandbox Testing Available

As per the US state law including SB2420 in Texas. We are suppose to meet their compliance.

We have following queries

  1. Could you please confirm whether the provided Declared Age Range API framework is available for sandbox testing
  2. How does the API respond for a region other than Texas

Following feedback submitted for the same - https://feedbackassistant.apple.com/feedback/21097477

Pease see Testing Age Assurance in Sandbox for more information.

Testing requires using a device running iOS 26.2 or iPadOS 26.2 and a Sandbox Apple Account.

Use isEligibleForAgeFeatures to determine whether a person using your app is in an applicable region that requires additional age-related obligations for when you distribute apps on the App Store. For more information, refer to Next steps for apps distributed in Texas.

DTS Engineer Apple Use isEligibleForAgeFeatures to determine whether a person using your app is in an applicable region ...

Hi, thank you for information. Could you please share where isEligibleForAgeFeatures is placed in - there is no such property in AgeRangeService.shared in Xcode 26.2.0-Beta. Google doesn't know anything at all about it. Thank you.

we did went through the following WWDC video https://developer.apple.com/videos/play/wwdc2025/299/ and it is mentioned that Users can manage the cached responses in settings.

We did not see any such settings, not even under the sandbox account "Test Age Assurance".

Could you please let us know how do we clear the cached age response

Could you please share where isEligibleForAgeFeatures is placed in - there is no such property in AgeRangeService.shared in Xcode 26.2.0-Beta.

The isEligibleForAgeFeatures is available when using Xcode 26.2 beta 2 (17C5038g). To view the version of Xcode, select Xcode > About Xcode.

do {
    let response = try await AgeRangeService.shared.isEligibleForAgeFeatures
    // Handle response
    if response {
        logger.info("Eligible for age features.")
    } else {
        logger.info( "Not eligible for age features.")
    }              
} catch {
     logger.error("Fail to check eligibility for age features.")
}
Age Range API - Sandbox Testing Available
 
 
Q