Contents

init(provisioningCredentialIdentifier:cardConfigurationIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:)

Creates a shareable pass metadata object.

Declaration

init?(provisioningCredentialIdentifier credentialIdentifier: String, cardConfigurationIdentifier: String, sharingInstanceIdentifier: String, passThumbnailImage: CGImage, ownerDisplayName: String, localizedDescription: String)

Parameters

  • credentialIdentifier:

    A value that represents the user credentials for the pass.

  • cardConfigurationIdentifier:

    A value that represents the configuration of the pass.

  • sharingInstanceIdentifier:

    A unique value that you use to validate the shared pass.

  • passThumbnailImage:

    A thumbnail image for the pass.

  • ownerDisplayName:

    The name of the person that receives the shared pass.

  • localizedDescription:

    A longer form of the pass description.

See Also

Creating a shareable pass metadata object