Instance Method

remotePaymentPasses()

Returns a list of passes stored on a remote device.

Declaration

func remotePaymentPasses() -> [PKPaymentPass]

Return Value

An array containing all the passes stored on a remote device (for example, Apple Watch) that is paired with the current iOS device.

See Also

Accessing Passes

class func isPassLibraryAvailable() -> Bool

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

func passes() -> [PKPass]

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

func containsPass(PKPass) -> Bool

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

func pass(withPassTypeIdentifier: String, serialNumber: String) -> PKPass?

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

func passes(of: PKPassType) -> [PKPass]

Returns the passes of the specified pass type.