SiriTipView
struct · iOS 16.0+ · SDK 27.1
@MainActor @preconcurrency struct SiriTipViewA SwiftUI view that displays the phrase someone uses to invoke an App Shortcut. Use a ``SiriTipView`` to display the spoken phrase for the intent you specify. Include an instance of your intent when you create the view, and bind the view to a Boolean to handle the view's presentation. The following example shows how to configure a button for a reorder intent and bind it to an `isVisible` variable. ``` SiriTipView(intent: ReorderIntent(), isVisible: $isVisible) .siriTipViewStyle(.dark) ``` Note that you must use the ``AppIntent`` in an ``AppShortcut``. Otherwise this will display an empty view.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SiriTipView.init(intent:isVisible:)
This declaration needs Swift generic type arguments. (no canonical witness for Intent)
SiriTipView.body
This protocol needs associated types that cannot yet cross the bridge.