Add AI support chat to your iOS (Swift) app
Add the IntelliDesk AI support chat to your iOS (Swift) app in a few lines: it answers from your own content and hands off to your team. Your snippet, with your agent filled in, is in the dashboard under Deploy → Install; it also confirms when the chat is live on your site.
Steps
- Show the hosted chat in a WKWebView on your support screen.
swift
import WebKit
let web = WKWebView(frame: view.bounds)
web.autoresizingMask = [.flexibleWidth, .flexibleHeight]
web.load(URLRequest(url: URL(string: "https://YOUR_APP/embed/AGENT_SLUG_OR_ID")!))
view.addSubview(web)Replace AGENT_SLUG_OR_ID with your agent's slug or id, and YOUR_APP with your IntelliDesk address.
Next
- Signed-in users, or a native chat screen of your own? Use the REST API from your backend and name the user.
- All guides: Platform guides.