Contents

JournalingSuggestionPresentationToken

A container for a Journaling Suggestion identifier.

Declaration

struct JournalingSuggestionPresentationToken

Mentioned in

Overview

When your app receives a Journaling Suggestion notification, the system launches your app and provides an ID that refers to a specific suggestion from the notification.

Create an instance of this class and display a JournalingSuggestionsPicker by passing the token to the JournalingSuggestionsPicker/journalingSuggestionsPicker(isPresented:onCompletion:) view modifier, which enables the picker to preload its contents with the notified suggestion.

Topics

Initializing a presentation token

See Also

Notifications