Muirey03 / Amandus

Apple Pay redesigned!
GNU General Public License v3.0
23 stars 3 forks source link

Fix Default Pass not appearing first #14

Open R-Trent opened 2 years ago

R-Trent commented 2 years ago

For some reason, the method [[%c(PKPassLibrary) sharedInstance] passWithUniqueID:defaultPassID] never returned the correct default pass. From my research, it seems that looping through the passes in the array and comparing the uniqueID of each pass to the default pass uniqueID works.