Contents

willDismissSearchController(_:)

Notifies the delegate that the system is about to automatically dismiss the search controller.

Declaration

optional func willDismissSearchController(_ searchController: UISearchController)

Parameters

Discussion

The system only calls this method when it’s about to automatically dismiss the search controller. The system doesn’t call this method if you explicitly dismiss the search controller.

See Also

Presenting and dismissing the search controller