When downloading a .zip file with a pass package, when trying to open a file it only appears as a file but is not added to the wallt.
Hi @BrendaCR, @Globobalear,
PKAddPassesViewController
With PassKit and PKAddPassesViewController, you provide an array of PKPass objects. This allows you to present multiple passes at once in a single UI prompt, and the user can add them all in one confirmation.
let passes: [PKPass] = [pass1, pass2, pass3]
let addPassesVC = PKAddPassesViewController(passes: passes)
present(addPassesVC, animated: true)
The user is presented with all passes at once, and then taps "Add All".
.pkpasses File Format
Otherwise, as @AlexanderCerutti, says, you can bundle multiple .pkpass files into a single .pkpasses (plural) file, which is a zip archive. When a user opens or taps this file (via email, Safari, Messages, etc.), Wallet will prompt them to add all included passes at once.
Note: If an app or website allows a user to download a .pkpasses bundle, tapping it will let them add all passes in one step. Otherwise, each .pkpass file typically requires a separate tap or confirmation to add individually.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer