SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
SearchSuggestionsView
@available(iOS, introduced: 14)
@MainActor
struct SearchSuggestionsView
A SwiftUI View to display search suggestions.
-
The type of view representing the body of this view.
When you create a custom view, Swift infers this type from your
implementation of the required View/body-swift.property
property.
Declaration
Swift
@available(iOS, introduced: 14)
typealias Body = some View
-
Creates a SearchSuggestionsView.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-07 UTC."],[[["`SearchSuggestionsView` is a SwiftUI View designed to display search suggestions within your iOS app, available since iOS 14."],["This view requires a `SearchSuggestions` object to provide the suggestions and can be further customized using `SearchSuggestionsViewOptions`."],["The `body` property represents the content and appearance of the search suggestions view."]]],["`SearchSuggestionsView` is a SwiftUI view, available from iOS 14, designed to display search suggestions. Its `Body` type is inferred from the `View/body` property. It is initialized using `init(suggestions:options:)`, which takes optional `SearchSuggestions` and `SearchSuggestionsViewOptions` as parameters. It is a `@MainActor` and is used in search functionality within an application.\n"]]