Protocol

UISearchControllerDelegate

A set of delegate methods for search controller objects.

Topics

Presenting and Dismissing the Search Controller

func didDismissSearchController(UISearchController)

Called when the search controller has been automatically dismissed.

func didPresentSearchController(UISearchController)

Called when the search controller has been automatically presented.

func presentSearchController(UISearchController)

Presents the designated search controller.

func willDismissSearchController(UISearchController)

Called when the search controller is to be automatically dismissed.

func willPresentSearchController(UISearchController)

Called when the search controller is to be automatically displayed.

Relationships

Inherits From

See Also

Responding to Presentation and Dismissal

var delegate: UISearchControllerDelegate?

The search controller’s delegate.