> For the complete documentation index, see [llms.txt](https://docs.xplorpay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xplorpay.com/guides/mobile-emv/ios-framework.md).

# iOS framework

The iOS framework integration steps help you to integrate payment acceptance into your iOS app.

{% stepper %}
{% step %}
Integrating the iOS framework connects your app to the VP3300 mobile card reader using Apple’s Bluetooth implementation in the IDTech framework.
{% endstep %}

{% step %}
The framework sends messages to your iOS app that guide customers during their interaction with the card reader in a transaction.
{% endstep %}

{% step %}
The iOS framework secures the card data after a successful read and sends it to the Xplor Pay server.
{% endstep %}

{% step %}
The iOS framework packages the secured card data as an encrypted JSON Web Token (JWT) and sends it to your app through a callback function.&#x20;
{% endstep %}

{% step %}
You can send the encrypted JSON Web Token (JWT) to the mobile gateway to process the payment.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
The iOS framework uses the [IDTech iOS framework](https://idtechproducts.atlassian.net/wiki/spaces/KB/pages/71754539/Integrating+Applications+for+Multiple+ID+TECH+SDKs#iOS-SDK) to read card data on the VP3300 mobile card reader. You can continue to use other [IDTech frameworks](https://idtechproducts.atlassian.net/wiki/spaces/KB/pages/71703365/iOS+Development+-+Home) if your requirements don’t meet with the recommended workflow.
{% endhint %}

See the following articles to integrate the iOS framework:

* [Prerequisites](/guides/mobile-emv/ios-framework/prerequisites.md)
* [Start Bluetooth connection](/guides/mobile-emv/ios-framework/start-bluetooth-connection.md)
* [Pair card reader](/guides/mobile-emv/idtech-vp3300/pair-card-reader.md)
* [Integrate iOS framework](/guides/mobile-emv/ios-framework/integrate-ios-framework.md)
* [Set iOS framework](/guides/mobile-emv/ios-framework/set-ios-framework.md)
* [Optional settings](/guides/mobile-emv/ios-framework/optional-settings.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 dynamically by asking a question.

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

```
GET https://docs.xplorpay.com/guides/mobile-emv/ios-framework.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.
