TAD Signing SDK integrates into your existing iOS app through a single Swift Package dependency and a modal view controller. This guide walks you through adding the package, creating your configuration, presenting the biometric flow, and handling the result.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/signing-sdk/face-auth-ios/llms.txt
Use this file to discover all available pages before exploring further.
Add TadSigningSDK as a Swift Package dependency
Open your Xcode project, go to File → Add Package Dependencies, and add You also need two entries in your And an Associated Domains entitlement for WebAuthn passkey binding:Replace
TadSigningSDK.If you received the SDK as a local package, add it using a path-based reference in your Package.swift or project.yml:Info.plist:signing.tadi.uz with your own relying party domain.Create TadSigningConfig
Create a shared configuration object that holds your API endpoint, public key, and relying party settings. The example below is taken directly from the demo app:Keep this configuration in a dedicated file (for example,
SDKConfig.swift) and reference it as a singleton. See Configure TadSigningConfig for a full parameter reference.Present TadSigningViewController in .register mode
Import To trigger signing instead of registration, pass
TadSigningSDK in your SwiftUI view or UIViewController, then instantiate and present TadSigningViewController. The example below shows the registration flow:mode: .sign. Everything else stays the same.Handle the completion callback
The completion block receives a On success,
TadSigningResult with two cases. Handle both in your callback:requestId is always present. The jwt is non-empty only in .sign mode — in .register mode it is an empty string. On failure, code is a typed error code and message is a human-readable description.Helper: finding the top view controller
When presenting from SwiftUI, use a helper to get the topUIViewController from the current scene:
Next steps
Configuration reference
Learn about all five
TadSigningConfig parameters and how to manage them per environment.API reference
Full reference for
TadSigningViewController, modes, and result types.