SearchSuggestionsViewOptionsLayout
enum SearchSuggestionsViewOptionsLayout : NSInteger {}
The layout options for the search suggestions view.
-
In this layout, search suggestions will all be displayed in multiple lines like tiling at the very beginning.
Declaration
Swift
case tiling = 0
Objective-C
SearchSuggestionsViewOptionsLayoutTiling = 0
-
In this layout, search suggestions will be displayed in two lines, one for the headline and one for the search suggestions which is horizontally scrollable.
Declaration
Swift
case carousel = 1
Objective-C
SearchSuggestionsViewOptionsLayoutCarousel = 1
-
In this layout, search suggestions will be displayed in a single line, and users should swipe horizontally to view more suggestions.
Declaration
Swift
case compactCarousel = 2
Objective-C
SearchSuggestionsViewOptionsLayoutCompactCarousel = 2