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 -> PKAddIdentityDocumentConfigurationParameters
- metadata:
The configurable metadata that defines the required information to add the corresponding pass to Wallet.
- completion:
Returns the identity document configration.