Skip to main content
Structure A view that shows Crossmint’s hosted identity verification (KYC) step.
The view fills the space the layout gives it. The verification content scrolls inside the view. The Crossmint environment comes from the API key. Attach event handlers with onReady(_:), onComplete(_:), onCancel(_:), and onError(_:). Document capture needs camera access. Add NSCameraUsageDescription to your app’s Info.plist.

Initializers

init(apiKey:credentials:locale:)

Creates an identity verification view.

Parameters

Instance Properties

Instance Methods

onCancel(_:)

Adds an action to perform when the buyer dismisses the verification flow.

onComplete(_:)

Adds an action to perform when the buyer finishes the verification. The status gives the result.

onError(_:)

Adds an action to perform when the verification fails. retriable shows if a new attempt can work.

onReady(_:)

Adds an action to perform when the verification UI finishes loading.