Instance Method

initWithPass:

Initializes and returns a newly created add-passes view controller with a single pass.

Declaration

- (instancetype)initWithPass:(PKPass *)pass;

Parameters

pass

The pass that is displayed.

Return Value

The initialized add-passes view controller object or nil if there was a problem initializing the object.

See Also

Creating an Add-Passes View Controller

- initWithPasses:

Initializes and returns a newly created add-passes view controller with an array of passes.