addPass(_:)
Asks the customer to confirm adding a Pass to Wallet.
Declaration
final func addPass(_ pass: Data) async throws -> BoolParameters
- pass:
Properly created
.pkpassdata to be added to Wallet. ThepassTypeIdentifierof the pass must be one of the identifiers in the Passtypeidentifiers.
Mentioned in
Return Value
true if the pass is added to Wallet successfully or the same pass already exists; false if the customer declines.