Contents

passes()

Returns the passes in the user’s pass library that the app can access.

Declaration

func passes() -> [PKPass]

Return Value

The passes in the user’s pass library.

Discussion

Your app only has access to certain passes according to its entitlements. PassKit doesn’t return passes that your app can’t access.

Passes don’t have a fixed order. Calling this method multiple times may return the same passes, but in a different order.

See Also

Accessing passes