> 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/sdk-lite-english-pt-br/configuracao/ios.md).

# iOS

O SDK CafFaceLivenessLite permite a verificação facial ao vivo com uma pegada menor e uma API simplificada. Ele detecta e rejeita tentativas de fraude (fotos/vídeos) para proteger os fluxos de onboarding e autenticação.

De **2.0.0** (enviado em **CafSDKiOS 7.3.1**), o registro da transação é apenas assíncrono: o SDK retorna um `signedResponse` JWT e seu backend recupera o resultado final de liveness. Face Auth não é suportado no Lite.

De **3.0.0** (enviado em **CafSDKiOS 7.6.0**), a integração é um fluxo de configuração antes de iniciar: chame `setup` com suas credenciais e opções, depois `startSDK` para exibir a tela de captura. Um `prewarm()` passo opcional solicita a sessão com antecedência para que a câmera abra sem esperar pela rede.

De **7.8.0**, a versão CafFaceLivenessLite corresponde à versão CafSDKiOS.

## Termos e Políticas

Ao usar nossos SDKs, certifique-se de concordar com nossa [Política de Privacidade](https://www.certta.ai/legal-compliance/privacy-policy) e com nossos [Termos e Condições de Uso](https://www.certta.ai/legal-compliance/terms-of-use).

## Pegada e Tamanho do App

O CafFaceLivenessLite reduz drasticamente o tamanho do binário em comparação com o CafFaceLiveness anterior, preservando a segurança e as análises no fluxo de liveness.

### Pegada do framework

| Escopo                                       | Anterior | Novo     | Redução     |
| -------------------------------------------- | -------- | -------- | ----------- |
| apenas o framework CafFaceLiveness           | 29,18 MB | \~0,8 MB | \~97% menor |
| Total de frameworks (incluindo dependências) | 39,90 MB | 10,71 MB | \~73% menor |

### Tamanho do .ipa de exemplo

| Pacote                | Anterior | Novo   | Redução     |
| --------------------- | -------- | ------ | ----------- |
| App de exemplo (.ipa) | 3,6 MB   | 1,8 MB | \~50% menor |

{% hint style="info" %}
Os tamanhos reais variam de acordo com a versão do Xcode, as arquiteturas incluídas (arm64/simulador), as configurações de strip e outros conteúdos do app.
{% endhint %}

## Próximos passos

1. Verifique os requisitos e instale o SDK: [Configuração](https://docs.caf.io/sdk-lite/sdk-lite-english-pt-br/configuracao/ios/configuration.md).
2. Configure, inicie o SDK e trate os callbacks do delegate: [Iniciando o fluxo de Liveness](https://docs.caf.io/sdk-lite/sdk-lite-english-pt-br/configuracao/ios/configuration/starting-liveness-flow.md).
3. Encaminhe o `signedResponse` para seu backend e recupere o resultado conforme descrito em [Configuração do Backend](https://docs.caf.io/sdk-lite/sdk-lite-english-pt-br/configuracao/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/sdk-lite-english-pt-br/configuracao/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.
