<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddPassesViewController/init(pass:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddPassesViewController(im)initWithPass:"
  },
  "title" : "init(pass:)"
}
-->

# init(pass:)

Initializes and returns a newly created add-passes view controller with a single pass.

```
init?(pass: PKPass)
```

## Parameters

`pass`

The pass for the view controller to display.

## Return Value

The initialized add-passes view controller object or `nil` if there was a problem initializing the object.

## Discussion

---

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)