<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddSecureElementPassViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddSecureElementPassViewController"
  },
  "title" : "PKAddSecureElementPassViewController"
}
-->

# PKAddSecureElementPassViewController

A view controller that manages the addition of secure element payment passes.

```
class PKAddSecureElementPassViewController
```

## Topics

### Creating a view controller

[`init?(configuration: PKAddSecureElementPassConfiguration, delegate: (any PKAddSecureElementPassViewControllerDelegate)?)`](/documentation/PassKit/PKAddSecureElementPassViewController/init(configuration:delegate:))

Creates a view controller using the specified pass configuration.

### Responding to the life cycle of a pass

[`var delegate: (any PKAddSecureElementPassViewControllerDelegate)?`](/documentation/PassKit/PKAddSecureElementPassViewController/delegate)

An object that acts as the view controller’s delegate.

[`protocol PKAddSecureElementPassViewControllerDelegate`](/documentation/PassKit/PKAddSecureElementPassViewControllerDelegate)

The methods for responding to the life cycle events of a Secure Element pass.

### Validating pass configuration

[`class func canAddSecureElementPass(configuration: PKAddSecureElementPassConfiguration) -> Bool`](/documentation/PassKit/PKAddSecureElementPassViewController/canAddSecureElementPass(configuration:))

Returns a Boolean value that indicates whether PassKit can create a Secure Element pass using the specified configuration.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

---

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)