Contents

presentSearchController(_:)

Presents the designated search controller.

Declaration

optional func presentSearchController(_ searchController: UISearchController)

Parameters

Discussion

The system calls this method when the user begins editing in the search controller, or you set the isActive property to true. The system performs a default presentation if you don’t implement this method or you present the controller yourself.

See Also

Presenting and dismissing the search controller