Can you control the order of passage when adding it to the Apple Wallet?

I use this API to add multiple group passes to the Apple Wallet. I realized that the added gaps in the wallet did not match the order of the [PKPass] array that I gave this API.

public func addPasses(passes: [PKPass], withCompletionHandler completion: ((PKPassLibraryAddPassesStatus) -> Void)?) 

It is interesting to note that when I click View All before adding passes, it shows all the passes in order, but after clicking Add All , and then launched the Wallet application to see that the od order has been added. not so anymore.

Any clue why this is happening and how to maintain the order?

+7
ios swift passbook passkit wallet
source share
1 answer

There is no documentation or PassKit API in the PassKit that indicates in which order the pass can go.

This can only be done manually, as indicated here .

To change the order of passes, press and hold the passage, and then drag it to a new location. With iOS 7 or later, your change will be updated on all your devices.

To do this, you need to install a radar.

+2
source share

All Articles