SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
DetentOptions control the size and behavior of the search suggestions view.
medium represents a half-screen view, while large represents a full-screen view.
Options include: largeByDefault (starts full screen, can shrink), largeOnly (always full screen), mediumByDefault (starts half screen, can grow), and mediumOnly (always half screen).
DetentOptions
@objcenumDetentOptions
The detent options for the search suggestions view.
Medium = half screen, Large = full screen.
[[["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."],[],["The `DetentOptions` enum defines four states for search suggestion view behavior: `largeByDefault` (full screen initially, can shrink), `largeOnly` (full screen, fixed), `mediumByDefault` (half screen initially, can expand), and `mediumOnly` (half screen, fixed). These options control whether the view starts in half or full-screen mode and if it can transition between sizes. Each option is available in Swift.\n"]]