Skip to main content
net10.0-ios26.2

Native Swift interop bindings for Apple FamilyControls

Published
Jun 15, 2026
4mo ago
Total Downloads
1.3K
1,292

Install

dotnet add package SwiftBindings.Apple.FamilyControls --version 26.2.7
ProductVersions
.NET
net10.0-ios26.2

README

SwiftBindings.Apple.FamilyControls

Native .NET bindings for Apple's FamilyControls framework β€” Screen Time authorization for parental-control and digital-wellbeing apps. These are not Objective-C proxy wrappers; they use .NET 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.

πŸ“– Full usage guide β†’ β€” the authorization flow, the opaque-token model, activity selections, persistence, and what you can (and can't) inspect.

Installation

dotnet add package SwiftBindings.Apple.FamilyControls

Requirements

  • .NET 10.0+
  • iOS 26.2+
  • macOS host for development
  • Family Controls capability enabled on the app

Usage

Authorization

using FamilyControls;

var center = AuthorizationCenter.Shared;

var status = AuthorizationStatus.NotDetermined;
if (status.Tag == AuthorizationStatus.CaseTag.Approved)
{
    // App is authorised to read or apply Screen Time restrictions.
}

Errors

var description = FamilyControlsError.AuthenticationMethodUnavailable.GetErrorDescription();

Documentation

How It Works

These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.

License

The bindings are MIT licensed. FamilyControls is part of the Apple SDK; refer to Apple's licensing for the underlying framework.

Changes from Previous Version

No structural changes between v26.2.6 and v26.2.7.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.