SearchInAppsSDK Framework Reference

  • 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

@objc
enum DetentOptions

The detent options for the search suggestions view. Medium = half screen, Large = full screen.

  • full screen by default, but can shrink to half screen.

    Declaration

    Swift

    case largeByDefault
  • full screen only, cannot grow or shrink.

    Declaration

    Swift

    case largeOnly
  • half screen by default, but can grow to full screen.

    Declaration

    Swift

    case mediumByDefault
  • half of the screen only, cannot grow or shrink.

    Declaration

    Swift

    case mediumOnly