SwiftBindings.Apple.FamilyControls
26.2.6
dotnet add package SwiftBindings.Apple.FamilyControls --version 26.2.6
NuGet\Install-Package SwiftBindings.Apple.FamilyControls -Version 26.2.6
<PackageReference Include="SwiftBindings.Apple.FamilyControls" Version="26.2.6" />
<PackageVersion Include="SwiftBindings.Apple.FamilyControls" Version="26.2.6" />
<PackageReference Include="SwiftBindings.Apple.FamilyControls" />
paket add SwiftBindings.Apple.FamilyControls --version 26.2.6
#r "nuget: SwiftBindings.Apple.FamilyControls, 26.2.6"
#:package SwiftBindings.Apple.FamilyControls@26.2.6
#addin nuget:?package=SwiftBindings.Apple.FamilyControls&version=26.2.6
#tool nuget:?package=SwiftBindings.Apple.FamilyControls&version=26.2.6
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
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Apple FamilyControls framework
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.2 is compatible. |
-
net10.0-ios26.2
- SwiftBindings.Apple (>= 26.2.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.