@class UISystemInputViewController, UICollectionView, UISearchBar, _UISearchControllerTVKeyboardContainerView, _UISearchControllerDidScrollDelegate, UIViewController, UITapGestureRecognizer, UIView, _UISearchSuggestionsListViewController, UIFocusGuide, UIScrollView, NSString, UINavigationItem, UIFocusContainerGuide, NSArray, _UINavigationControllerManagedSearchPalette, _UISearchSuggestionController; @protocol UISearchSuggestion, UISearchControllerDelegate, UISearchResultsUpdatingPrivate, UISearchResultsUpdating, UIViewControllerAnimatedTransitioning; @interface UISearchController : UIViewController <NSCoding, UIGestureRecognizerDelegate, _UIScrollViewScrollObserver_Internal, UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning> { id<UIViewControllerAnimatedTransitioning> _animator; id _windowWillAnimateToken; _UISearchControllerDidScrollDelegate *_didScrollDelegate; UISystemInputViewController *_systemInputViewController; BOOL _shouldFocusResultsOnNextFocusUpdate; UITapGestureRecognizer *_backButtonDismissGestureRecognizer; UITapGestureRecognizer *_doneButtonGestureRecognizer; long long _lastKnownInterfaceOrientation; BOOL _shouldUseLegacyAnimator; struct { unsigned char searchBarWasTableHeaderView : 1; unsigned char searchBarWasFirstResponder : 1; unsigned char transitioningOut : 1; unsigned char delegateWantsInsertSearchFieldTextSuggestion : 1; unsigned char automaticallyShowsCancelButton : 1; unsigned char scopeBarActivation : 2; unsigned char automaticallyShowsSearchResultsController : 1; unsigned char explicitlyShowsSearchResultsController : 1; unsigned char searchFieldIsBeginningEditing : 1; unsigned char hidesNavigationBarDuringPresentation : 1; unsigned char shouldDeferSettingSearchSuggestions : 1; unsigned char suggestionHasBeenSelected : 1; unsigned char pendingClearSearchSuggestions : 1; unsigned char ignoresSearchSuggestionsForStackedSearch : 1; unsigned char usesSearchSuggestionsMenuForStackedSearch : 1; unsigned char hasPendingSuggestionMenuRefresh : 1; unsigned char hasSuppressedSuggestionMenuBeforeHorizontalSizeClassChange : 1; unsigned char wasShowingSuggestionsWhenChangedToInline : 1; unsigned char isDismissingOrAboutToDismiss : 1; unsigned char hasDeferredActivation : 1; unsigned char shouldUpdateHelperMessage : 1; } _controllerFlags; id /* block */ _deferredActivationOrDismissal; UIScrollView *_tvObservingScrollView; struct UIEdgeInsets { double top; double left; double bottom; double right; } _previousObservedScrollViewGradientMaskLengths; BOOL _previousObservedScrollViewShouldPreventFocusScrollPastContentSize; } @property (retain, nonatomic, setter=_setSuggestionController:) _UISearchSuggestionController *_suggestionController; @property (retain, nonatomic) id<UISearchSuggestion> selectedSuggestion; @property (readonly, nonatomic) _UISearchSuggestionsListViewController *_suggestionsListViewController; @property (readonly, nonatomic) int _barPresentationStyle; @property (readonly, nonatomic) BOOL _searchFieldIsBeginningEditing; @property (readonly, nonatomic) BOOL _hidesNavigationBarDuringPresentationRespectingInlineSearch; @property (readonly, nonatomic) UIViewController *_currentActiveChildViewController; @property (readonly, nonatomic) BOOL _searchbarWasTableHeaderView; @property (nonatomic) long long _previousSearchBarPosition; @property (retain, nonatomic) UIView *_resultsControllerViewContainer; @property (nonatomic) double _resultsContentScrollViewPresentationOffset; @property (readonly, nonatomic) UISystemInputViewController *_systemInputViewController; @property (nonatomic) BOOL _tabBarHidden; @property (retain, nonatomic) UIView *_systemInputMarginView; @property (readonly) BOOL _delegateWantsInsertSearchFieldTextSuggestion; @property (readonly, retain, nonatomic) _UINavigationControllerManagedSearchPalette *_managedPalette; @property (weak, nonatomic, setter=_setNavigationItemCurrentlyDisplayingSearchController:) UINavigationItem *_navigationItemCurrentlyDisplayingSearchController; @property (readonly, nonatomic) _UISearchControllerTVKeyboardContainerView *_tvKeyboardContainerView; @property (readonly, nonatomic) UICollectionView *_suggestionView; @property (readonly, nonatomic) UIView *_leftDividerView; @property (readonly, nonatomic) UIView *_rightDividerView; @property (readonly, nonatomic) UIFocusContainerGuide *_scopeBarFocusContainerGuide; @property (retain, nonatomic) NSArray *_scopeBarConstraints; @property (nonatomic) double _topResultsViewEdgeInset; @property (retain, nonatomic) UIFocusGuide *keyboardToSearchResultsFocusGuide; @property (retain, nonatomic) UIFocusGuide *searchResultsToHiddenKeyboardFocusGuide; @property (nonatomic) BOOL _shouldLogAppearance; @property (retain, nonatomic) UIView *_suggestionContainerView; @property (nonatomic, getter=_isGridKeyboardVisible, setter=_setGridKeyboardVisible:) BOOL _gridKeyboardVisible; @property (readonly, nonatomic) BOOL _tvShouldScrollWithObservedScrollViewIfPossible; @property (nonatomic, setter=_setShouldHideGridKeyboardUnfocused:) BOOL _shouldHideGridKeyboardUnfocused; @property (nonatomic, getter=_shouldDisplayDefaultSuggestion, setter=_setShouldDisplayDefaultSuggestion:) BOOL _shouldDisplayDefaultSuggestion; @property (copy, nonatomic) NSArray *searchHints; @property (weak, nonatomic) id<UISearchResultsUpdatingPrivate> searchResultsUpdaterPrivate; @property (nonatomic, setter=_setShowResultsForEmptySearch:) BOOL _showResultsForEmptySearch; @property (readonly, nonatomic) long long _dci_searchBarPlacement; @property (nonatomic, setter=_dci_setIgnoresSearchSuggestionsForStackedSearch:) BOOL _dci_ignoresSearchSuggestionsForStackedSearch; @property (copy, nonatomic, setter=_dci_setSuggestionsMenuDismissalPassthroughViews:) NSArray *_dci_suggestionsMenuDismissalPassthroughViews; @property (nonatomic, setter=_setUsesSearchSuggestionsMenuForStackedSearch:) BOOL _usesSearchSuggestionsMenuForStackedSearch; @property (nonatomic, setter=_setRequestedInteractionModel:) unsigned long long _requestedInteractionModel; @property (nonatomic, setter=_setShouldRespectPreferredContentSize:) BOOL _shouldRespectPreferredContentSize; @property (nonatomic, setter=_setAlwaysHidesNavigationBar:) BOOL _alwaysHidesNavigationBar; @property (nonatomic, setter=_setAutomaticallyShowsCancelButton:) BOOL _automaticallyShowsCancelButton; @property (nonatomic, setter=_setAutomaticallyShowsScopeBar:) BOOL _automaticallyShowsScopeBar; @property (nonatomic, setter=_dci_setAutomaticScopeBarShowsOnPresentation:) BOOL _dci_automaticScopeBarShowsOnPresentation; @property (copy, nonatomic, setter=_setSearchSuggestionGroups:) NSArray *_searchSuggestionGroups; @property (nonatomic, getter=_automaticallyShowsSearchResultsController, setter=_setAutomaticallyShowsSearchResultsController:) BOOL _automaticallyShowsSearchResultsController; @property (nonatomic, getter=_showsSearchResultsController, setter=_setShowsSearchResultsController:) BOOL _showsSearchResultsController; @property (copy, nonatomic, setter=_dci_setSearchSuggestions:) NSArray *_dci_searchSuggestions; @property (weak, nonatomic) id<UISearchResultsUpdating> searchResultsUpdater; @property (nonatomic, getter=isActive) BOOL active; @property (weak, nonatomic) id<UISearchControllerDelegate> delegate; @property (nonatomic) BOOL dimsBackgroundDuringPresentation; @property (nonatomic) BOOL obscuresBackgroundDuringPresentation; @property (nonatomic) BOOL hidesNavigationBarDuringPresentation; @property (readonly, nonatomic) UIViewController *searchResultsController; @property (readonly, nonatomic) UISearchBar *searchBar; @property (readonly, nonatomic) long long searchBarPlacement; @property (nonatomic) BOOL automaticallyShowsSearchResultsController; @property (nonatomic) BOOL showsSearchResultsController; @property (nonatomic) BOOL automaticallyShowsCancelButton; @property (nonatomic) BOOL automaticallyShowsScopeBar; @property (nonatomic) long long scopeBarActivation; @property (copy, nonatomic) NSArray *searchSuggestions; @property (nonatomic) BOOL ignoresSearchSuggestionsForSearchBarPlacementStacked; @property (retain, nonatomic) UIScrollView *searchControllerObservedScrollView; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)_resignSearchBarAsFirstResponder:(id)a0; - (void)applicationDidBecomeActive:(id)a0; - (id)animationControllerForPresentedController:(id)a0 presentingController:(id)a1 sourceController:(id)a2; - (void)willTransitionToTraitCollection:(id)a0 withTransitionCoordinator:(id)a1; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_edgeInsetsForChildViewController:(id)a0 insetsAreAbsolute:(BOOL *)a1; - (void)applicationWillResignActive:(id)a0; - (void)_observeScrollViewDidScroll:(id)a0; - (id)animationControllerForDismissedController:(id)a0; - (void)applicationWillEnterForeground:(id)a0; - (void)viewWillAppear:(BOOL)a0; - (double)transitionDuration:(id)a0; - (void)dealloc; - (id)searchTextField; - (void)traitCollectionDidChange:(id)a0; - (void)viewDidLayoutSubviews; - (void)encodeWithCoder:(id)a0; - (void)viewDidLoad; - (void)_keyboardWillShow:(id)a0; - (id)preferredFocusEnvironments; - (void)_preferredContentSizeDidChangeForChildViewController:(id)a0; - (void)loadView; - (BOOL)_disableAutomaticKeyboardUI; - (id)focusItemContainer; - (void)animateTransition:(id)a0; - (void)_keyboardWillHide:(id)a0; - (void)_suggestionsMenuInteractionWillEndWithAnimator:(id)a0; - (id)initWithNibName:(id)a0 bundle:(id)a1; - (void)viewWillDisappear:(BOOL)a0; - (void).cxx_destruct; - (void)viewDidMoveToWindow:(id)a0 shouldAppearOrDisappear:(BOOL)a1; - (void)setModalPresentationStyle:(long long)a0; - (void)didUpdateFocusInContext:(id)a0 withAnimationCoordinator:(id)a1; - (void)viewDidAppear:(BOOL)a0; - (void)viewWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withTransitionCoordinator:(id)a1; - (void)viewDidDisappear:(BOOL)a0; - (id)initWithCoder:(id)a0; - (void)_commonInit; - (struct CGSize { double x0; double x1; })preferredContentSize; - (void)applicationDidEnterBackground:(id)a0; - (BOOL)isBeingDismissed; - (id)initWithSearchResultsController:(id)a0; - (void)_dismissPresentation:(BOOL)a0; - (id)_carPlayLimitedUIViewController; - (id)_deferredSearchSuggestionGroups; - (void)_uninstallBackGestureRecognizer; - (void)_updateSearchBarMaskIfNecessary; - (id)searchTextColor; - (id)_locatePresentingViewController; - (void)_removeCarPlayLimitedUIObserver; - (void)_setupForCurrentTraitCollection; - (void)_uninstallDoneGestureRecognizer; - (void)_willPresentFromViewController:(id)a0; - (void)_adjustSearchBarSizeForOrientation:(long long)a0; - (void)_adjustSearchBarSizeForOrientation:(long long)a0 oldPaletteFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (void)_adjustTVSearchContainerViewForContentScrollView:(id)a0; - (BOOL)_allowFormSheetStylePresentation; - (id)_animatorForBarPresentationStyle:(int)a0 dismissing:(BOOL)a1; - (void)_beginWatchingPresentingController; - (id)_carPlayLimitedUIToken; - (void)_connectSearchBar:(id)a0; - (BOOL)_containedInNavigationPaletteAndNotHidden; - (void)_contentScrollViewDidFinishContentOffsetAnimation; - (id)_createAnimationCoordinator; - (void)_createOrUpdateKeyboardToSearchResultsFocusGuide; - (void)_createOrUpdateSearchResultsToHiddenKeyboardFocusGuide; - (void)_createSystemInputViewControllerIfNeededForTraitEnvironment:(id)a0; - (id)_defaultAnimationController; - (void)_didCreateSystemInputViewController; - (void)_didDismissSearchController; - (void)_didPresentFromViewController:(id)a0; - (void)_displayDefaultHelperPlaceholderMessage; - (void)_endWatchingPresentingController; - (BOOL)_gestureRecognizerShouldBegin:(id)a0; - (void)_handleBackButtonGesture:(id)a0; - (void)_hostingNavigationBarDidLayoutInlineSearchBar; - (void)_installBackGestureRecognizer; - (void)_installDoneGestureRecognizer; - (void)_ios_searchBar:(id)a0 textDidChange:(id)a1 programatically:(BOOL)a2; - (BOOL)_isSearchController; - (void)_limitedUIDidChangeAnimated:(BOOL)a0; - (id)_locatePresentingViewControllerIfInManagedPaletteOrHostedByNavigationBar; - (void)_navigationControllerWillShowViewController:(id)a0; - (void)_performAutomaticPresentationFromTextField:(BOOL)a0; - (void)_performDidBeginEditingForSearchBar:(id)a0; - (id)_presentationControllerForPresentedController:(id)a0 presentingController:(id)a1 sourceController:(id)a2; - (void)_presentingViewControllerDidChange:(id)a0; - (void)_presentingViewControllerWillChange:(id)a0; - (void)_requestPendingSuggestionMenuRefresh; - (BOOL)_requiresCustomPresentationController; - (void)_resizeResultsControllerWithDelta:(struct CGSize { double x0; double x1; })a0; - (BOOL)_resultsControllerWillLayoutVisibleUnderContainerView; - (void)_searchBar:(id)a0 selectedScopeButtonIndexDidChange:(long long)a1; - (void)_searchBar:(id)a0 textDidChange:(id)a1 programatically:(BOOL)a2; - (void)_searchBarCancelButtonClicked:(id)a0; - (void)_searchBarDidUpdateScopeBar:(id)a0; - (void)_searchBarSearchButtonClicked:(id)a0; - (void)_searchBarSearchTextFieldRequirementDidChange:(id)a0; - (BOOL)_searchBarShouldFinalizeBecomingFirstResponder; - (void)_searchBarSuperviewChanged; - (void)_searchBarTextDidBeginEditing:(id)a0; - (void)_searchBarTextFieldDidSelectSearchSuggestion:(id)a0; - (void)_searchBarTokensDidChange:(id)a0; - (id)_searchPresentationController; - (void)_sendDelegateInsertSearchFieldTextSuggestion:(id)a0; - (void)_setCarPlayLimitedUIToken:(id)a0; - (void)_setCarPlayLimitedUIViewController:(id)a0; - (void)_setDeferredSearchSuggestionGroups:(id)a0; - (void)_setTransitioningOutWithoutDisappearing:(BOOL)a0; - (void)_sizeSearchViewToPresentingViewController:(id)a0; - (void)_startDeferringSettingSearchSuggestions; - (void)_startManagingPalette:(id)a0; - (void)_stopDeferringAndShowDeferredSearchSuggestions; - (void)_stopManagingPalette; - (id)_systemInputViewControllerAfterUpdate:(BOOL)a0; - (BOOL)_transitioningOutWithoutDisappearing; - (id)_tvSuggestionController; - (void)_tvUpdateScrollViewGradientMaskWithNavigationController; - (void)_tvos_searchBar:(id)a0 textDidChange:(id)a1 programatically:(BOOL)a2; - (void)_updateBarPresentationStyleForPresentingViewController:(id)a0; - (void)_updateFocusFromDoneButton:(id)a0; - (void)_updateHasPendingSuggestionMenuRefreshFlagForReason:(long long)a0; - (void)_updateKeyboardFocusGuidesForAnimator:(id)a0; - (void)_updateSearchResultsContentScrollViewWithDelta:(struct CGSize { double x0; double x1; })a0; - (void)_updateSearchResultsControllerWithDelta:(struct CGSize { double x0; double x1; })a0; - (void)_updateSearchResultsPositionWithDelta:(struct CGSize { double x0; double x1; })a0; - (void)_updateSearchSuggestionsListVisibility; - (void)_updateSearchSuggestionsListVisibilityShouldRequestNavigationControllerObservingUpdate:(BOOL)a0; - (void)_updateSystemInputViewController; - (void)_updateTableHeaderBackgroundViewInTableView:(id)a0 amountScrolledUnder:(double)a1; - (void)_updateVisibilityOfSearchResultsForSearchBar:(id)a0; - (id)_viewToInsertSearchBarContainerViewUnder; - (void)_watchScrollView:(id)a0 forScrolling:(BOOL)a1; - (void)_willDismissSearchController; - (void)_willUpdateFocusInContext:(id)a0 withAnimationCoordinator:(id)a1; - (id)searchPlaceholderColor; @end