SwiftBindings.Apple.FamilyControls
26.2.9
See the version list below for details.
dotnet add package SwiftBindings.Apple.FamilyControls --version 26.2.9
NuGet\Install-Package SwiftBindings.Apple.FamilyControls -Version 26.2.9
<PackageReference Include="SwiftBindings.Apple.FamilyControls" Version="26.2.9" />
<PackageVersion Include="SwiftBindings.Apple.FamilyControls" Version="26.2.9" />
<PackageReference Include="SwiftBindings.Apple.FamilyControls" />
paket add SwiftBindings.Apple.FamilyControls --version 26.2.9
#r "nuget: SwiftBindings.Apple.FamilyControls, 26.2.9"
#:package SwiftBindings.Apple.FamilyControls@26.2.9
#addin nuget:?package=SwiftBindings.Apple.FamilyControls&version=26.2.9
#tool nuget:?package=SwiftBindings.Apple.FamilyControls&version=26.2.9
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+
- Target framework:
net10.0-ios26.2or higher. The package is compiled against the iOS 26.2 SDK supplement, so your app's<TargetFramework>platform version must be ≥ 26.2 to restore it — an explicit lower TPV (e.g.net10.0-ios18.0) or a barenet10.0-ioswhose installed workload defaults below 26.2 fails restore withNU1202. This is the compile-SDK pin, not your app's deployment minimum. - Deployment minimum is separate — set your app's real minimum OS with
<SupportedOSPlatformVersion>(independent of the TFM above). Individual APIs that need a newer OS at runtime are gated by generated[SupportedOSPlatform]attributes; the C# compiler flags a call that isn't valid for your target. - 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.8)
- SwiftBindings.Runtime (>= 0.18.0 && < 0.19.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 27.2.0 | 98 | 11/30/2026 |
| 26.2.16 | 125 | 10/28/2026 |
| 26.2.15 | 135 | 9/22/2026 |
| 26.2.14 | 143 | 9/5/2026 |
| 26.2.13 | 130 | 9/2/2026 |
| 26.2.10 | 152 | 8/5/2026 |
| 26.2.9 | 142 | 7/31/2026 |
| 26.2.8 | 163 | 6/27/2026 |
| 26.2.7 | 147 | 6/15/2026 |
| 26.2.6 | 141 | 6/11/2026 |
| 26.2.5 | 142 | 6/1/2026 |
| 26.2.3 | 136 | 5/19/2026 |
| 26.2.1 | 132 | 5/3/2026 |