Loops AI Docs

iOS SDK

Embed the Loops AI assistant natively in your iOS app — chat, virtual try-on, search, size, and analytics through one SDK.

What the iOS SDK does

The Loops AI iOS SDK (LoopsAIChatSDK) embeds the full Loops assistant inside your native app. It is a thin, dependency-free native container around the Loops web runtime: the web owns the conversation UI, while native owns the session, routing, and analytics.

One integration gives you:

  • Chat presented full-screen, as a sheet, or pushed onto a navigation stack.
  • Flow modes as first-class native calls — virtual try-on, AI search, size suggestion.
  • Analytics that flow through the SDK on the ios channel and share one taxonomy with your web and Android reports.
  • Native session ownership — the anonymous session persists in the Keychain and survives app relaunch (no session loss on iOS WebKit).

The SDK requires iOS 15+ and is distributed via Swift Package Manager. It has zero third-party dependencies.

Start here

Building for Android? The Android SDK mirrors the same public API and emits identical analytics. Web embed is documented under Widget Embed.

On this page