family-controlslisted
Install: claude install-skill thienqo/ios-skills
# FamilyControls & Screen Time
Build parental control, focus, and digital wellbeing features on iOS and iPadOS using `FamilyControls`, `ManagedSettings`, and `DeviceActivity`.
## Contents
- [Authorization & Capabilities](#authorization--capabilities)
- [Selecting Apps with FamilyActivityPicker](#selecting-apps-with-familyactivitypicker)
- [Enforcing Restrictions with ManagedSettings](#enforcing-restrictions-with-managedsettings)
- [Monitoring Usage with DeviceActivity](#monitoring-usage-with-deviceactivity)
- [Common Mistakes](#common-mistakes)
- [Review Checklist](#review-checklist)
- [References](#references)
---
## Authorization & Capabilities
FamilyControls requires the Family Controls Entitlement (`com.apple.developer.family-controls`). Request authorization via `AuthorizationCenter.shared` before presenting pickers or configuring stores.
```swift
import FamilyControls
@MainActor
final class ScreenTimeAuthManager {
static let shared = ScreenTimeAuthManager()
func requestAuthorization(for memberType: FamilyControlsMember = .individual) async throws {
// Options: .individual (user's own device) or .child (parental device managing child)
try await AuthorizationCenter.shared.requestAuthorization(for: memberType)
}
var authorizationStatus: AuthorizationStatus {
AuthorizationCenter.shared.authorizationStatus
}
}
```
---
## Selecting Apps with FamilyActivityPicker
Allow users to select apps, categories, or web domains usi