{"abstract":[{"text":"Create age-appropriate experiences in your app by asking people to share their age range.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"DeclaredAgeRange","modules":[{"name":"Declared Age Range"}],"navigatorTitle":[{"kind":"text","text":"Declared Age Range"}],"platforms":[{"beta":false,"introducedAt":"26.0","name":"iOS"},{"beta":false,"introducedAt":"26.0","name":"iPadOS"},{"beta":false,"introducedAt":"26.0","name":"Mac Catalyst"},{"beta":false,"introducedAt":"26.0","name":"macOS"}],"role":"collection","roleHeading":"Framework","symbolKind":"module","title":"Declared Age Range"},"primaryContentSections":[{"content":[{"anchor":"Overview","level":2,"text":"Overview","type":"heading"},{"inlineContent":[{"text":"Use the Declared Age Range API to request that people share their age range with your app. For children in a Family Sharing group, a parent or guardian or the Family Organizer can decide whether to always share a child’s age information with your app, ask the child every time, or never share their age information. Along with an age range, the system returns an ","type":"text"},{"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/AgeRangeService\/AgeRangeDeclaration","isActive":true,"type":"reference"},{"text":" for the age range a person provides.","type":"text"},{"text":" ","type":"text"},{"text":"To use the Declared Age Range API, add the ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/BundleResources\/Entitlements\/com.apple.developer.declared-age-range","isActive":true,"type":"reference"},{"text":" entitlement to your app by enabling the Declared Age Range capability on your target in Xcode. For more information, see ","type":"text"},{"identifier":"https:\/\/developer.apple.com\/documentation\/xcode\/adding-capabilities-to-your-app","isActive":true,"type":"reference"},{"text":".","type":"text"}],"type":"paragraph"},{"content":[{"inlineContent":[{"text":"Data from the Declared Age Range API is based on information declared by an end user, or their parent or guardian, and may be confirmed using a payment method (like a credit card), government ID, or another method. You are solely responsible for ensuring compliance with associated laws or regulations that may apply to your app.","type":"text"}],"type":"paragraph"}],"name":"Important","style":"important","type":"aside"}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"topicSections":[{"anchor":"Essentials","identifiers":["doc:\/\/com.apple.documentation\/documentation\/BundleResources\/Entitlements\/com.apple.developer.declared-age-range","doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/requesting-people-share-their-age-range-with-your-app","doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/implementing-age-assurance-and-permissions"],"title":"Essentials"},{"anchor":"Age-range-requests","identifiers":["doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/AgeRangeService","doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/DeclaredAgeRangeAction"],"title":"Age range requests"},{"anchor":"Significant-change-acknowledgment","identifiers":["doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/SignificantUpdateAction"],"title":"Significant change acknowledgment"}],"variants":[{"paths":["\/documentation\/declaredagerange"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange":{"abstract":[{"text":"Create age-appropriate experiences in your app by asking people to share their age range.","type":"text"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange","kind":"symbol","navigatorTitle":[{"kind":"text","text":"Declared Age Range"}],"role":"collection","title":"Declared Age Range","type":"topic","url":"\/documentation\/declaredagerange"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/AgeRangeService":{"abstract":[{"text":"A request for the age range of a person","type":"text"},{"text":" ","type":"text"},{"text":"logged onto the current device.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AgeRangeService"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/AgeRangeService","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AgeRangeService"}],"role":"symbol","title":"AgeRangeService","type":"topic","url":"\/documentation\/declaredagerange\/agerangeservice"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/AgeRangeService/AgeRangeDeclaration":{"abstract":[{"text":"Constants that describe how an adult, parent, or guardian set the age range.","type":"text"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"AgeRangeDeclaration"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/AgeRangeService\/AgeRangeDeclaration","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AgeRangeDeclaration"}],"role":"symbol","title":"AgeRangeService.AgeRangeDeclaration","type":"topic","url":"\/documentation\/declaredagerange\/agerangeservice\/agerangedeclaration"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/DeclaredAgeRangeAction":{"abstract":[{"text":"An action that requests a person’s age range.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeclaredAgeRangeAction"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/DeclaredAgeRangeAction","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"DeclaredAgeRangeAction"}],"role":"symbol","title":"DeclaredAgeRangeAction","type":"topic","url":"\/documentation\/declaredagerange\/declaredagerangeaction"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/SignificantUpdateAction":{"abstract":[{"text":"An action that presents a system sheet for significant app update acknowledgments.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SignificantUpdateAction"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/SignificantUpdateAction","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SignificantUpdateAction"}],"role":"symbol","title":"SignificantUpdateAction","type":"topic","url":"\/documentation\/declaredagerange\/significantupdateaction"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/implementing-age-assurance-and-permissions":{"abstract":[{"text":"Create a significant change flow to inform people about important updates in your app and request age-related permissions.","type":"text"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/implementing-age-assurance-and-permissions","kind":"article","role":"sampleCode","title":"Implementing age assurance and permissions","type":"topic","url":"\/documentation\/declaredagerange\/implementing-age-assurance-and-permissions"},"doc://com.apple.declaredagerange/documentation/DeclaredAgeRange/requesting-people-share-their-age-range-with-your-app":{"abstract":[{"text":"Ask people to share their age range with your app, and tailor features for adults, teens, and children while preserving privacy.","type":"text"}],"identifier":"doc:\/\/com.apple.declaredagerange\/documentation\/DeclaredAgeRange\/requesting-people-share-their-age-range-with-your-app","kind":"article","role":"article","title":"Requesting people’s age range information in your app","type":"topic","url":"\/documentation\/declaredagerange\/requesting-people-share-their-age-range-with-your-app"},"doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.declared-age-range":{"abstract":[{"text":"A Boolean value indicating whether your app may request a person’s age range.","type":"text"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/BundleResources\/Entitlements\/com.apple.developer.declared-age-range","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"com.apple.developer.declared-age-range"}],"role":"symbol","title":"com.apple.developer.declared-age-range","type":"topic","url":"\/documentation\/bundleresources\/entitlements\/com.apple.developer.declared-age-range"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app":{"identifier":"https:\/\/developer.apple.com\/documentation\/xcode\/adding-capabilities-to-your-app","title":"Adding capabilities to your app","titleInlineContent":[{"text":"Adding capabilities to your app","type":"text"}],"type":"link","url":"https:\/\/developer.apple.com\/documentation\/xcode\/adding-capabilities-to-your-app"}}}