init(addPassButtonStyle:)
Initializes a new Add Pass button.
Declaration
init(addPassButtonStyle style: PKAddPassButtonStyle)Parameters
- style:
The button’s style. For a complete list of styles, see Pkaddpassbuttonstyle.
Return Value
Returns a PKAddPassButton instance with the specified style.