<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPassLibrary/addPasses(_:withCompletionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPassLibrary(im)addPasses:withCompletionHandler:"
  },
  "title" : "addPasses(_:withCompletionHandler:)"
}
-->

# addPasses(_:withCompletionHandler:)

Presents a user interface for adding multiple passes at once.

```
func addPasses(_ passes: [PKPass], withCompletionHandler completion: (@Sendable (PKPassLibraryAddPassesStatus) -> Void)? = nil)
```

## Parameters

`passes`

The passes to add.

`completion`

The completion handler that PassKit calls after the user selects an action. This handler takes the following parameter:

- `status`: A  [`PKPassLibraryAddPassesStatus`](/documentation/PassKit/PKPassLibraryAddPassesStatus) value that indicates whether PassKit adds the passes. If the user selects to review the passes, PassKit sets the status to [`PKPassLibraryAddPassesStatus.shouldReviewPasses`](/documentation/PassKit/PKPassLibraryAddPassesStatus/shouldReviewPasses). In this case, you must present an instance of [`PKAddPassesViewController`](/documentation/PassKit/PKAddPassesViewController) to let the user review and add the passes.

## Discussion

Use this method whenever the user initiates an action that generates a single pass (like purchasing a concert ticket) or multiple passes (like checking into a multiconnection flight). The user receives a prompt to confirm the overall action or to review the passes individually. If you want to force the user to review individual passes visually before adding them, use an instance of [`PKAddPassesViewController`](/documentation/PassKit/PKAddPassesViewController).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)