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