Contents

result(opensIntent:view:)

Indicates the AppIntent finished performing

Declaration

static func result<Content>(opensIntent: some AppIntent, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, Never>, Content : View

Parameters

  • opensIntent:

    An AppIntent to shows the result of current intent

  • view:

    A custom View to display the result