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