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

# PKAddPassButton

Provides a button that enables users to add passes to Wallet.

```
class PKAddPassButton
```

## Overview

When you use the [`PKAddPassButton`](/documentation/PassKit/PKAddPassButton) class to create a button, you choose the button’s style, and the system provides a control with the correct appearance.

## Topics

### Creating add pass buttons

[`+  addPassButtonWithStyle:`](/documentation/PassKit/PKAddPassButton/addPassButtonWithStyle:)

Returns a button that prompts the user to add a pass to Wallet.

[`-  initWithAddPassButtonStyle:`](/documentation/PassKit/PKAddPassButton/init(addPassButtonStyle:))

Initializes a new Add Pass button.

### Accessing the button’s style

[`addPassButtonStyle`](/documentation/PassKit/PKAddPassButton/addPassButtonStyle)

A constant representing the button’s style.

### Button styles

[`PKAddPassButtonStyle`](/documentation/PassKit/PKAddPassButtonStyle)

The appearance of the buttons that can be created using the [`addPassButtonWithStyle:`](/documentation/PassKit/PKAddPassButton/addPassButtonWithStyle:) method.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

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

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

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

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

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

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

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

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

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

### Inherits From

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

---

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)