Contents

automaticallyShowsSearchResultsController

A Boolean indicating whether the search controller manages the visibility of its results controller.

Declaration

var automaticallyShowsSearchResultsController: Bool { get set }

Discussion

The default value for this property is true. When it’s true, UISearchController automatically shows its results controller based on the contents of its text property. If you set showsSearchResultsController, this property becomes false.

See Also

Configuring the search interface