# Display search results

## SFSafariViewController

By default, after clicking a search component, the corresponding Google Search
results will be displayed in a [SFSafariViewController](https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller). You can customize
its height by using [View Options](https://developers.google.com/search-in-apps/ios/display_search_results#view_options).

## View Options

Each `SearchSuggestionsViewController`, `SearchSuggestionsView`,
`SearchContentViewController`, `SearchContentView` can be customized using
[SearchSuggestionsViewOptions/SearchContentViewOptions](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions).

The available options are the
[layout](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Layout),
[theme](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Theme),
`detentOption` and `customizedSheetHeightFraction`.

Layout determines how the search suggestions are displayed. The available
options are `carousel`, `compact carousel`, and `tiling`.

The theme allows your app to specify light mode, dark mode, or match the system
appearance.

`detentOption` (predefined height mode) and `customizedSheetHeightFraction`
(iOS 16.0+ only, fully customize the height) can be used to adjust the height of
the bottom sheet (SFSafariViewController) displaying the Google Search page.