編輯

共用方式為


PKPaymentAuthorizationController.Present(Action<Boolean>) Method

Definition

Presents the payment authorization UI and runs a handler after the sheet is displayed.

[Foundation.Export("presentWithCompletion:")]
public virtual void Present (Action<bool> completion);
abstract member Present : Action<bool> -> unit
override this.Present : Action<bool> -> unit

Parameters

completion
Action<Boolean>

A handler that is called after the payment authorization UI is presented.

This parameter can be null.

Attributes

Remarks

The developer must use the Dismiss(Action) method to dismiss the payment authorization UI.

Applies to