FamilyControls is the center for requesting authorization to provide parental controls and Screen Time restrictions through ManagedSettings on iOS, macOS, and watchOS. You use AuthorizationCenter to request and track access, checking the result against AuthorizationStatus and handling failures reported as FamilyControlsError. To let a user choose which apps, categories, and websites a restriction applies to, you present a FamilyActivitySelection, whose opaque FamilyActivityData preserves privacy by keeping the chosen tokens unreadable to your app.
Authorization 2
Request and track a guardian's authorization to apply parental controls and Screen Time restrictions.
- ClAuthorizationCenterThe center for requesting authorization to provide parental controls.
- EnAuthorizationStatusThe status of your app’s authorization to provide parental controls.
Activity Selection 2
Let a user choose which apps, categories, and websites a restriction applies to while preserving privacy.
- StFamilyActivitySelectionA collection of applications, categories, and web domains selected by the user.
- ClFamilyActivityDataAn interface to the user's family activity data.
Errors 1
Handle failures reported while requesting authorization or applying controls.
- EnFamilyControlsErrorErrors the Family Controls framework reports.
Structures 3
- StFamilyActivityIconViewA type-erased view representing the icon of the family activity.
- StFamilyActivityPickerA view in which users specify applications, web domains,
- StFamilyActivityTitleViewA type-erased view representing the title of the family activity.
Enumerations 1
- EnFamilyControlsMemberThe type of account that Family Controls is currently managing.