One Logo Pool Ball
PassKit · IOS API REFERENCE

PKAddPaymentPassViewController

class · iOS 9.0+ · SDK 27.1

class PKAddPaymentPassViewController

Members (4)

static · iOS 9.0+

canAddPaymentPass

TypeScript
static canAddPaymentPass(): Promise<boolean>
Swift declaration
class func canAddPaymentPass() -> Bool
init · iOS 9.0+

init

TypeScript
static init(configuration: PKAddPaymentPassRequestConfiguration, delegate?: (SDKHandle) | null): Promise<(PKAddPaymentPassViewController) | null>
Swift declaration
init?(requestConfiguration configuration: PKAddPaymentPassRequestConfiguration, delegate: (any PKAddPaymentPassViewControllerDelegate)?)
get · iOS 9.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any PKAddPaymentPassViewControllerDelegate)? { get set }
set · iOS 9.0+

delegate

TypeScript
setDelegate(value?: (SDKHandle) | null): Promise<void>
Swift declaration
weak var delegate: (any PKAddPaymentPassViewControllerDelegate)? { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PKAddPaymentPassViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All PassKit types →