One Logo Pool Ball
IdentityDocumentServicesUI · IOS API REFERENCE

IdentityDocumentWebPresentmentController

class · iOS 26.0+ · SDK 27.1

@MainActor final class IdentityDocumentWebPresentmentController

A controller that performs identity document requests originating from the web.

Members (6)

method · iOS 26.0+

performRequests

TypeScript
performRequests(requests: Array<Implements<_IdentityDocumentServices_IdentityDocumentWebPresentmentRequest> | SDKHandle>, origin: string): Promise<SDKHandle>
Swift declaration
@MainActor final func performRequests(_ requests: [any IdentityDocumentWebPresentmentRequest], origin: URL) async throws -> any IdentityDocumentWebPresentmentResponse

Perform an identity document request. On iOS, this document will be sourced from a document provider installed on the current device. On other platforms, this will trigger a remote presentment flow where the user is prompted to use a nearby device for the presentment. - Parameters: - requests: A list of incoming document requests. - origin: The origin of the requesting website. - Returns: A response that contains the requested document information.

get · iOS 26.0+

presentationContextProvider

TypeScript
get presentationContextProvider(): Promise<(SDKHandle) | null>
Swift declaration
@MainActor weak final var presentationContextProvider: (any IdentityDocumentPresentmentControllerPresentationContextProviding)?

A delegate that provides a display context in which the system can present an authorization interface to the user.

set · iOS 26.0+

presentationContextProvider

TypeScript
setPresentationContextProvider(value?: (SDKHandle) | null): Promise<void>
Swift declaration
@MainActor weak final var presentationContextProvider: (any IdentityDocumentPresentmentControllerPresentationContextProviding)?

A delegate that provides a display context in which the system can present an authorization interface to the user.

get · iOS 26.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
@MainActor weak final var delegate: (any IdentityDocumentWebPresentmentControllerDelegate)?

A delegate that provides information for the controller to perform a web presentment.

set · iOS 26.0+

delegate

TypeScript
setDelegate(value?: (SDKHandle) | null): Promise<void>
Swift declaration
@MainActor weak final var delegate: (any IdentityDocumentWebPresentmentControllerDelegate)?

A delegate that provides information for the controller to perform a web presentment.

init · iOS 26.0+

init

TypeScript
static init(): Promise<IdentityDocumentWebPresentmentController>
Swift declaration
@MainActor init()

Initialize a web presentment controller.

Skipped declarations

No declarations were skipped in this snapshot.

All IdentityDocumentServicesUI types →