I am using this API to add multiple grouped passes to Apple Wallet. I realized that added passes in the wallet doesn't follow the order of array [PKPass] that I gave it to this API.
public func addPasses(passes: [PKPass], withCompletionHandler completion: ((PKPassLibraryAddPassesStatus) -> Void)?)
The interesting thing to note here is when I tap on View All
before adding the passes it does show all the passes in order but after tapping on Add All
and then launch the Wallet app to see the order od added pass it's not same anymore.
Any clue why this is happening and how to maintain an order?
Rearrange your passesIn the Wallet stack, touch and hold the pass you want to move. Drag the pass to a new place in the stack. The pass order is updated on your iPhone, iPod touch, and Apple Watch where you're signed in with your Apple ID.
To organize your cards, all you have to do is select each one as your Default Card in order from last to first. Let's say you have 3 cards and want to prioritize them as 1, 2, 3. Select 3rd as Default Card, then 2nd, then 1st, leaving that one as the new default.
Reorder your payment methodsOpen the Google Wallet app . At the top, from the right edge of the screen, swipe left to scroll through your payment methods until you get to the last one. Tap 'Edit card order' . To change the order, tap, hold and drag a card.
Change your Apple Pay settings Go to Settings > Wallet & Apple Pay. Choose options such as the following: Double-Click Side Button: (on an iPhone with Face ID) Your cards and passes appear on the screen when you double-click the side button.
There is no documentation or PassKit
API which states in which order can passes appear in Wallet app.
It can only be done manually as stated here.
To reorder your passes, tap and hold a pass, then drag it to a new place. With iOS 7 or later, your change will update on all of your devices.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With