Instance Method

presentSearchController:

Presents the designated search controller.

Declaration

- (void)presentSearchController:(UISearchController *)searchController;

Parameters

searchController

The UISearchController object to be presented.

Discussion

This method is called when the user begins editing in the search controller or the active property is set to YES. A default presentation is performed if you do not implement this method or present the controller yourself.

See Also

Presenting and Dismissing the Search Controller

- didDismissSearchController:

Called when the search controller has been automatically dismissed.

- didPresentSearchController:

Called when the search controller has been automatically presented.

- willDismissSearchController:

Called when the search controller is to be automatically dismissed.

- willPresentSearchController:

Called when the search controller is to be automatically displayed.