Contents

PKPassLibrary.Capability.backgroundAddPasses

A capability that lets your app add passes to Wallet automatically, without prompting the person to review or confirm each pass.

Declaration

case backgroundAddPasses

Discussion

Request this capability when your app needs to add passes in the background, for example, after a purchase or a check-in, without interrupting the person with a confirmation prompt. If the person hasn’t granted this capability, call requestAuthorization(for:completion:) to ask for permission. If the person denies the request, present the passes for review instead by using an instance of PKAddPassesViewController.