Instance Method


Returns the passes of the specified pass type.


- (NSArray<PKPass *> *)passesOfType:(PKPassType)passType;



One of the pass types in PKPassType.

Return Value

An array of passes of the specified type.

See Also

Accessing Passes

+ isPassLibraryAvailable

A Boolean value that indicates whether the pass library is available.

- passes

Returns the passes in the user’s pass library to which the app has access.

- containsPass:

Indicates whether the user’s pass library contains the specified pass.

- passWithPassTypeIdentifier:serialNumber:

Returns the pass with the given pass type identifier and serial number.

- remotePaymentPasses

Returns a list of passes stored on a remote device.