addSecureElementPassViewController(_:didFinishAdding:error:)
Tells the delegate when PassKit finishes adding a Secure Element pass.
Declaration
optional func addSecureElementPassViewController(_ controller: PKAddSecureElementPassViewController, didFinishAdding pass: PKSecureElementPass?, error: (any Error)?)Parameters
- controller:
The view controller that requests PassKit to add a pass.
- pass:
If addition succeeds, the Secure Element pass that PassKit adds; otherwise,
nil. - error:
If addition fails, an error that describes the failure; otherwise,
nil. See Pkaddsecureelementpasserror for more information.