didDismissSearchController(_:)
Notifies the delegate when the system completes automatic dismissal of the search controller.
Declaration
optional func didDismissSearchController(_ searchController: UISearchController)Parameters
- searchController:
The Uisearchcontroller object to dismiss.
Discussion
The system only calls this method when it automatically dismisses the search controller. The system doesn’t call this method if you explicitly dismiss the search controller.