I just tested on an iOS 26.2 device.
It seems that
try await AgeRangeService.shared.isEligibleForAgeFeatures
does nor respond. Is it because Apple has paused on SB2420 ?
In this code
func testAgeRange() async -> Bool {
do {
print("Calling isEligibleForAgeFeatures") // show on console
var isEligible = false
print("iOS 26.2 or later") // show on console
isEligible = try await AgeRangeService.shared.isEligibleForAgeFeatures
print("isEligible", isEligible) // Does not show on console
if !isEligible {
print("Not in Texas")
return true // Not in Texas, so we can proceed
}
} catch {
print("error", AgeRangeService.Error.notAvailable) // Does not show on console
return true // we accept anyway if no ageRange provided, in order not to cause problem out of Texas ?
}
Here is the console content:
Calling isEligibleForAgeFeatures
iOS 26.2 or later
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: