Edit

Share via


PKAddPassButton.Create(PKAddPassButtonStyle) Method

Definition

Creates and returns a new button, with the specified button addPassButtonStyle, for adding passes to the Wallet.

[Foundation.Export("addPassButtonWithStyle:")]
public static PassKit.PKAddPassButton Create (PassKit.PKAddPassButtonStyle addPassButtonStyle);
static member Create : PassKit.PKAddPassButtonStyle -> PassKit.PKAddPassButton

Parameters

addPassButtonStyle
PKAddPassButtonStyle

Returns

Attributes

Applies to