SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
SearchContentView is a SwiftUI view designed to display a single search content block using SearchContentBlockData.
If the search content block includes search suggestions, they're styled according to the provided SearchContentViewOptions.
You can create a SearchContentView by providing SearchContentBlockData and optionally customizing the suggestion styling with SearchContentViewOptions.
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.
[[["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`, introduced in iOS 14, is a SwiftUI view that displays a single Search Content Block using `SearchContentBlockData`. It stylizes any search suggestions within the block via `SearchContentViewOptions`. The view's body is defined by the `Body` type alias, derived from the `View/body-swift.property`. The view is initialized using `init(blockData:options:)`, accepting `SearchContentBlockData` and optional `SearchContentViewOptions`. This view runs on the main actor.\n"]]