Contents

requestConfirmation(for:dialog:view:)

Use requestConfirmation when you need to the ask user to confirm the parameter value.

Declaration

final func requestConfirmation<ViewType>(for itemToConfirm: Value.ValueType, dialog: IntentDialog? = nil, view: ViewType) async throws -> Bool where ViewType : View

Parameters

  • itemToConfirm:

    The items to be presented to the user for confirmation

  • dialog:

    A custom dialog that may be used when prompting the user for the value

  • view:

    A view to display when requesting confirmation.

See Also

Requesting confirmation