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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software