Class

UISearchContainerViewController

A UISearchContainerViewController object is a wrapper for search results that you want to embed in a container view controller. Although you can present a UISearchController object modally, you should never push one onto a navigation controller’s stack or use one as a child of another container view controller. Instead, embed an instance of this class and let it manage the presentation of the search controller’s content.

Symbols

Initializing a Search Container View Controller

init(searchController: UISearchController)

Initializes and returns a search container view controller with the specified search controller object.

Getting the Search Controller

var searchController: UISearchController

The search controller being managed.