---
title: "journalingSuggestionsPicker(isPresented:onCompletion:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/journalingsuggestionspicker(ispresented:oncompletion:)"
---

# journalingSuggestionsPicker(isPresented:onCompletion:)

Presents a visual picker interface that contains events and images that a person can select to retrieve more information.

## Declaration

```swift
@MainActor @preconcurrency func journalingSuggestionsPicker(isPresented: Binding<Bool>, onCompletion: @escaping (JournalingSuggestion) async -> Void) -> some View

```

## Parameters

- `isPresented`: A binding to a Bool value that determines whether to show the picker.
- `onCompletion`: Code that you supply, which processes any suggestions that a person may choose in the picker.

## Discussion

Discussion For more information about the Journaling Suggestions picker, see: doc:presenting-the-suggestions-picker-and-processing-a-selection.

## See Also

### Presenting journaling suggestions

- [journalingSuggestionsPicker(isPresented:journalingSuggestionToken:onCompletion:)](swiftui/view/journalingsuggestionspicker(ispresented:journalingsuggestiontoken:oncompletion:).md)
