SearchInAppsSDK Framework Reference

SearchSuggestionsViewOptions


@interface SearchSuggestionsViewOptions : NSObject

This class provides all the options to customize the search suggestions UI view.

  • The specified layout to render search suggestion chips (e.g. carousel)

    Declaration

    Objective-C

    @property (nonatomic) enum SearchSuggestionsViewOptionsLayout layout;
  • The specified theme to render search suggestion chips (e.g. light/dark mode)

    Declaration

    Objective-C

    @property (nonatomic) enum SearchSuggestionsViewOptionsTheme theme;
  • The specified detent option to render search sheet (e.g. medium/large).

    Declaration

    Objective-C

    @property (nonatomic) enum DetentOptions detentOption;
  • The specified fraction of the screen height to present the sheet. The valid value is between 0.5 and 1.0. iOS 16.0+ only.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat customizedSheetHeightFraction;
  • The click notification delegate for the search suggestions view.

    Declaration

    Objective-C

    @property (nonatomic, weak) id< SearchContentClickNotificationDelegate> _Nullable clickNotificationDelegate;
  • The open URL delegate for the search suggestions view.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<SearchContentOpenURLDelegate> _Nullable openURLDelegate;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;