> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/sdk-lite/setup/ios.md).

# iOS

The CafFaceLivenessLite SDK enables live facial verification with a smaller footprint and simplified API. It detects and rejects spoofing attempts (photos/videos) to protect onboarding and authentication flows.

From **2.0.0** (shipped in **CafSDKiOS 7.3.1**), transaction registration is async-only: the SDK returns a `signedResponse` JWT and your backend retrieves the final liveness result. Face Auth is not supported on Lite.

From **3.0.0** (shipped in **CafSDKiOS 7.6.0**), integration is a setup-before-start flow: call `setup` with your credentials and options, then `startSDK` to present the capture screen. An optional `prewarm()` step requests the session in advance so the camera opens without waiting on the network.

From **7.8.0**, the CafFaceLivenessLite version matches the CafSDKiOS version.

## Terms & Policies

When using our SDKs, ensure you agree with our [Privacy Policy](https://www.certta.ai/legal-compliance/privacy-policy) and our [Terms and Conditions of Use](https://www.certta.ai/legal-compliance/terms-of-use).

## Footprint and App Size

CafFaceLivenessLite dramatically reduces the binary size compared to the previous CafFaceLiveness while preserving security and analytics in the liveness flow.

### Framework footprint

| Scope                                     | Previous | New      | Reduction     |
| ----------------------------------------- | -------- | -------- | ------------- |
| CafFaceLiveness framework only            | 29.18 MB | \~0.8 MB | \~97% smaller |
| Total frameworks (including dependencies) | 39.90 MB | 10.71 MB | \~73% smaller |

### Sample .ipa size

| Package           | Previous | New    | Reduction     |
| ----------------- | -------- | ------ | ------------- |
| Sample app (.ipa) | 3.6 MB   | 1.8 MB | \~50% smaller |

{% hint style="info" %}
Actual sizes vary by Xcode version, architectures included (arm64/simulator), strip settings, and other app content.
{% endhint %}

## Next steps

1. Check the requirements and install the SDK: [Configuration](https://docs.caf.io/sdk-lite/setup/ios/configuration.md).
2. Configure, start the SDK and handle the delegate callbacks: [Starting Liveness Flow](https://docs.caf.io/sdk-lite/setup/ios/configuration/starting-liveness-flow.md).
3. Forward the `signedResponse` to your backend and retrieve the result as described in [Backend Setup](https://docs.caf.io/sdk-lite/setup/backend/setup.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.caf.io/sdk-lite/setup/ios.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
