# iOS SDK

## Overview

The **ComplyCube iOS SDK** allows you to embed a complete identity verification flow directly into your iOS application using native UI components powered by ComplyCube’s certified machine learning models.

Designed for easy integration, the SDK handles everything from document capture and biometric liveness checks to proof of address and NFC authentication. It’s optimised for speed and accuracy, with features like auto-capture and real-time feedback.

{% embed url="<https://www.youtube.com/watch?v=n8kAGXQykkA>" %}
ComplyCube Mobile SDK Demo
{% endembed %}

## Benefits

The SDK offers several benefits:

* **Mobile-native flow:** Frictionless user experience using mobile-native UI components. Includes guided flows for capturing selfies, videos, identity documents, and proof of address.
* **Flexible integration**: Use [workflows](https://app.gitbook.com/s/KyFKMqftsmT6qln9zo5y/compliance-studio/workflows) to orchestrate complete verification journeys with minimal code, or configure individual stages (e.g. selfie, document, NFC) for more granular control.
* **Biometric verification**: Supports photo and video-based liveness checks (**PAD Level 2 certified)** using passive and active techniques to detect spoofing.
* **Document & NFC verification:** Supports OCR and RFID reading from passports, ID cards, and other chip-enabled documents. Cross-checks encrypted chip data for added assurance.
* **Smart auto-capture**: Automatically captures selfies and documents with real-time quality checks, reducing user errors and ensuring optimal input for verification.
* **Custom branding**: Customize accent colors, text, and logos to match your app’s visual identity.
* **Global-ready**: Built-in support for multiple languages and localized UI labels.

## Requirements

* **Swift 5**.
* **iOS 13** and above.
* **Xcode 13** and above.

## Integration modes

The iOS SDK can be integrated in two different ways, depending on your needs:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Workflow Integration</strong></mark></td><td>Use the Workflow Designer to build your customer KYC journey and simply load it through the SDK. This is the better option for most use cases.</td><td><strong>Recommended</strong></td><td><a href="ios-sdk/workflow-integration">workflow-integration</a></td></tr><tr><td><mark style="color:blue;"><strong>Check-Driven Integration</strong></mark></td><td>A lower-level approach where you directly control individual SDK screens and checks. It's best suited for advanced use cases.</td><td></td><td><a href="ios-sdk/check-driven-integration">check-driven-integration</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.complycube.com/documentation/sdks/mobile-integrations/ios-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
