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

# PKIdentityButton

An object that displays a button to trigger the identity verification flow.

```
class PKIdentityButton
```

## Topics

### Creating an identity button

[`init(label: PKIdentityButton.Label, style: PKIdentityButton.Style)`](/documentation/PassKit/PKIdentityButton/init(label:style:))

Creates a new identity button with the label and style.

[`+ (instancetype) buttonWithLabel:(PKIdentityButtonLabel) label style:(PKIdentityButtonStyle) style;`](/documentation/PassKit/PKIdentityButton/buttonWithLabel:style:)

Creates a new identity button with the label and style.

### Configuring the appearance

[`enum Label`](/documentation/PassKit/PKIdentityButton/Label)

A type that indicates the available labels for an identity button.

[`enum Style`](/documentation/PassKit/PKIdentityButton/Style)

A type that indicates the available appearances for an identity button.

[`var cornerRadius: CGFloat`](/documentation/PassKit/PKIdentityButton/cornerRadius)

The radius for the rounded corners on the button, in points.

## Relationships

### Inherits From

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

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

---

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)