Even with
XCode Version 26.2 beta (17C5013i)
iOS 26.2 beta (23C5027e)
I am receiving
Value of type 'AgeRangeService' has no member 'isEligibleForAgeFeatures'
as an error on
the provided code.
public func testEligible() async
{
do {
let response = try await AgeRangeService.shared.isEligibleForAgeFeatures
// Handle response
if response {
print("[K]: Eligible for age features.")
} else {
print("[K]: Not eligible for age features.")
}
} catch {
print("[K]: Fail to check eligibility for age features.")
}
}
Topic:
App & System Services
SubTopic:
General
Tags: