Contents

forMetadata(_:completion:)

Returns the identity document configuration.

Declaration

class func forMetadata(_ metadata: PKIdentityDocumentMetadata, completion: @escaping  @Sendable (PKAddIdentityDocumentConfiguration?, (any Error)?) -> Void)
class func forMetadata(_ metadata: PKIdentityDocumentMetadata) async throws -> PKAddIdentityDocumentConfiguration

Parameters

  • metadata:

    The configurable metadata that defines the required information to add the corresponding pass to Wallet.

  • completion:

    Returns the identity document configration.

See Also

Setting the metadata