Contents

init(passThumbnail:localizedDescription:)

Provides a preview of an image object that represents the pass you add to Wallet.

Declaration

init(passThumbnail: CGImage, localizedDescription description: String)

Parameters

  • passThumbnail:

    A CGImage object that represents the card artwork of the pass you use during provisioning.

  • description:

    A localized description of the pass.

Discussion

This method throws an invalidInput error if a JPKI applet doesn’t back the pass.

See Also

Creating a preview of the pass