iOS integration
For a React Native or Expo application, follow the mobile SDK quickstart. This integration uses native Stripe PaymentSheet and the issuer’s Apple Wallet handoff.
Swift hosted adapter
Section titled “Swift hosted adapter”Download the hosted adapters, then add the swift/ folder as a local Swift Package in Xcode. Requires iOS 15 or later.
import ZwipeHostedCard
let card = ZwipeCardViewController( publishableKey: "zw_pk_demo_restaurant", customer: ["email": "alex@example.com", "first_name": "Alex", "last_name": "Morgan", "phone": "+12025550147"])card.onClose = { [weak card] in card?.dismiss(animated: true) }present(card, animated: true)The adapter displays the hosted web flow in WKWebView. It passes configuration after the trusted page is ready, restricts navigation and opens external links in the system browser. Handle onClose through your app’s navigation. onEvent receives state, profile and error events.
The hosted adapter uses web checkout. It does not expose native PaymentSheet or native payment-card provisioning. Before release, test real verification, payment authentication and return, keyboard behavior, close/reopen and Wallet handoff on an iPhone. The Swift source is provided for integration; iPhone acceptance remains required.

