Contents

canAddSecureElementPass(primaryAccountIdentifier:)

Returns a Boolean value that indicates whether PassKit can add a Secure Element pass for the specified account.

Declaration

func canAddSecureElementPass(primaryAccountIdentifier: String) -> Bool

Parameters

  • primaryAccountIdentifier:

    A unique identifer for the underlying primary account number (PAN) for funding transactions. This isn’t the PAN itself.

Return Value

true if PassKit can add a secure element pass for the specified account; otherwise, false.

Discussion

Adding a Secure Element pass requires a special entitlement that Apple provides. If the entitlement isn’t present, this method returns false.

See Also

Adding passes