Latest SDK versions: Web
2.5.0 · Android 2.4.0 · iOS 1.3.0 · React Native 1.2.0 — View changelogPrerequisites
- A ClickTerm account
- A published template with an effective version (see Product Guide)
- An integration with your App ID and App Key (from Integrations)
- iOS 15.0+, Swift 5.9+, and Xcode 15.0+
Need to set up your credentials and template first? See Creating an app & template.
1. Add the SDK
Choose Swift Package Manager or add the XCFramework directly. Both options use the same prebuilt SDK from the ClickTerm CDN and do not require access to the SDK source repository.- Swift Package Manager
- Manual XCFramework
Create a small local package with this In Xcode, choose File → Add Package Dependencies… → Add Local…, select the package folder, and add the
Package.swift:Package.swift
ClicktermSDK product to your app target.2. Initialize the SDK
Initialize ClickTerm once when your app starts:3. Show the clickwrap
From a visibleUIViewController, create the request and present the dialog:
ClicktermDialog for all results and the accepted-content flow.
4. Verify on your backend
Send the Signature to your server, then verify it with your App ID and App Key:clickwrapEventStatus:
ACCEPTED— Consent is verified and a Certificate of Acceptance is generated.DECLINED— The event is verified without generating a Certificate of Acceptance.
Next steps
iOS SDK reference
Explore the complete native iOS API.
Template placeholders
Add user-specific values to agreements.
Integration flow
Understand how the SDK and backend fit together.

