result(dialog:view:)
Indicates the AppIntent finished performing
Declaration
static func result<Content>(dialog: IntentDialog, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, IntentDialog>, Content : ViewParameters
- dialog:
A custom success dialog
- view:
A custom View to display the result