SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Structures
The following structures are available globally.
-
A Swift UI View to show a single Search Content Block by providing SearchContentBlockData.
If the search content block contains search suggestions, they will be stylized by the provided
SearchContentViewOptions.
Declaration
Swift
@available(iOS, introduced: 14)
@MainActor
struct SearchContentView
-
A SwiftUI View to display search suggestions.
Declaration
Swift
@available(iOS, introduced: 14)
@MainActor
struct 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."],[[["`SearchContentView` is a SwiftUI View used to display a single Search Content Block using `SearchContentBlockData` and can style search suggestions using `SearchContentViewOptions`."],["`SearchSuggestionsView` is a SwiftUI View specifically designed for displaying search suggestions."]]],["The core content details two SwiftUI structures available from iOS 14 onwards. `SearchContentView` displays a single search content block, utilizing `SearchContentBlockData`. If the block contains suggestions, `SearchContentViewOptions` styles them. The second structure, `SearchSuggestionsView`, is specifically designed to display search suggestions. Both structures are accessible on the main actor.\n"]]