presentSearchController(_:)
Presents the designated search controller.
Declaration
optional func presentSearchController(_ searchController: UISearchController)Parameters
- searchController:
The Uisearchcontroller object to present.
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.