The search controller to integrate into your navigation interface.
- iOS 11.0+
When a view controller in your navigation interface supports search, assign the corresponding search controller to this property. The navigation controller integrates the search bar from your search controller into the navigation bar interface, presenting a single bar for both search and navigation. Use the
hides property to control the visibility of the search bar when scrolling.