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.
[null,null,["Last updated 2024-11-07 UTC."],[],["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"]]