Type Method

addPassButtonWithStyle:

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

Declaration

+ (instancetype)addPassButtonWithStyle:(PKAddPassButtonStyle)addPassButtonStyle;

Parameters

addPassButtonStyle

The button’s style. For a complete list of styles, see PKAddPassButtonStyle.

Return Value

Returns a PKAddPassButton instance with the specified style.

See Also

Creating Add Pass Buttons

- initWithAddPassButtonStyle:

Initializes a new Add Pass button.