Protocol

UISearchControllerDelegate

A set of delegate methods for search controller objects.

Declaration

protocol UISearchControllerDelegate

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software