Contents

removePass(_:)

Removes the pass from the user’s pass library.

Declaration

func removePass(_ pass: PKPass)

Parameters

  • pass:

    The pass to remove.

Discussion

This method does nothing if your app doesn’t have the appropriate entitlement.

A user must confirm adding a pass to Wallet so only remove the pass in response to a user action, such as responding to a prompt to remove the pass or an app setting.

See Also

Managing passes