Share via


PKPaymentAuthorizationController.Dismiss(Action) Method

Definition

Dismisses the payment authorization UI and runs the specified completion handler.

[Foundation.Export("dismissWithCompletion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Dismiss(Action? completion);
[<Foundation.Export("dismissWithCompletion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Dismiss : Action -> unit
override this.Dismiss : Action -> unit

Parameters

completion
Action

To be added.

This parameter can be null.

Attributes

Remarks

Developers call this method to dismiss the payment authorization UI, typically when they receive a call to the DidFinish(PKPaymentAuthorizationController) method.

Applies to