<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddPassesViewControllerDelegate/addPassesViewControllerDidFinish(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(pl)PKAddPassesViewControllerDelegate(im)addPassesViewControllerDidFinish:"
  },
  "title" : "addPassesViewControllerDidFinish(_:)"
}
-->

# addPassesViewControllerDidFinish(_:)

Sent to the delegate after the add-passes view controller has finished.

```
optional func addPassesViewControllerDidFinish(_ controller: PKAddPassesViewController)
```

## Discussion

When this optional method is implemented, the delegate is responsible for dismissing the view controller in `controller`.

## See Also

  [Wallet Developer Guide](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/index.html#//apple_ref/doc/uid/TP40012195)



---

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)