Contents

didDismissSearchController(_:)

Notifies the delegate when the system completes automatic dismissal of the search controller.

Declaration

optional func didDismissSearchController(_ searchController: UISearchController)

Parameters

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.

See Also

Presenting and dismissing the search controller