Class

PKAddPassButton

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

Declaration

class PKAddPassButton : UIButton

Overview

When you use the 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

init(addPassButtonStyle: PKAddPassButtonStyle)

Initializes a new Add Pass button.

Accessing The Button’s Style

var addPassButtonStyle: PKAddPassButtonStyle

A constant representing the button’s style.

Button Styles

enum PKAddPassButtonStyle

The appearance of the buttons that can be created using the init(style:) method.