Interface UISearchControllerDelegate


  • public interface UISearchControllerDelegate
    • Method Detail

      • didDismissSearchController

        default void didDismissSearchController​(UISearchController searchController)
      • didPresentSearchController

        default void didPresentSearchController​(UISearchController searchController)
      • presentSearchController

        default void presentSearchController​(UISearchController searchController)
        Called after the search controller's search bar has agreed to begin editing or when 'active' is set to YES. If you choose not to present the controller yourself or do not implement this method, a default presentation is performed on your behalf.
      • willDismissSearchController

        default void willDismissSearchController​(UISearchController searchController)
      • willPresentSearchController

        default void willPresentSearchController​(UISearchController searchController)
        These methods are called when automatic presentation or dismissal occurs. They will not be called if you present or dismiss the search controller yourself.