public class UISearchController extends UIViewController implements UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UISearchController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static UISearchController |
alloc() |
static UISearchController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
void |
animateTransition(UIViewControllerContextTransitioning transitionContext)
This method can only be a no-op if the transition is interactive and not a percentDriven interactive transition.
|
UIViewControllerAnimatedTransitioning |
animationControllerForDismissedController(UIViewController dismissed) |
UIViewControllerAnimatedTransitioning |
animationControllerForPresentedControllerPresentingControllerSourceController(UIViewController presented,
UIViewController presenting,
UIViewController source) |
void |
animationEnded(boolean transitionCompleted)
This is a convenience and if implemented will be invoked by the system when the transition context's completeTransition: method is invoked.
|
static void |
attemptRotationToDeviceOrientation() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
boolean |
automaticallyShowsCancelButton()
Default YES
|
boolean |
automaticallyShowsScopeBar()
Defaults to YES
|
boolean |
automaticallyShowsSearchResultsController()
When true, UISearchController will automatically show its results controller based on the contents of its text property.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
static java.lang.String |
debugDescription_static() |
UISearchControllerDelegate |
delegate() |
static java.lang.String |
description_static() |
boolean |
dimsBackgroundDuringPresentation()
default is YES, and has the same behavior as obscuresBackgroundDuringPresentation.
|
static long |
hash_static() |
boolean |
hidesNavigationBarDuringPresentation()
default is YES
|
UISearchController |
init() |
UISearchController |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UISearchController |
initWithNibNameBundle(java.lang.String nibNameOrNil,
NSBundle nibBundleOrNil)
Creates a search controller without a results controller
|
UISearchController |
initWithSearchResultsController(UIViewController searchResultsController)
Pass nil if you wish to display search results in the same view that you are searching.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
UIViewControllerInteractiveTransitioning |
interactionControllerForDismissal(UIViewControllerAnimatedTransitioning animator) |
UIViewControllerInteractiveTransitioning |
interactionControllerForPresentation(UIViewControllerAnimatedTransitioning animator) |
UIViewImplicitlyAnimating |
interruptibleAnimatorForTransition(UIViewControllerContextTransitioning transitionContext)
A conforming object implements this method if the transition it creates can
be interrupted.
|
boolean |
isActive()
Setting this property to YES is a convenience method that performs a default presentation of the search controller appropriate for how the controller is configured.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UISearchController |
new_objc() |
boolean |
obscuresBackgroundDuringPresentation()
On iOS, default is NO for apps linked on iOS 15.0 and later, YES otherwise.
|
UIPresentationController |
presentationControllerForPresentedViewControllerPresentingViewControllerSourceViewController(UIViewController presented,
UIViewController presenting,
UIViewController source) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
UISearchBar |
searchBar()
You are free to become the search bar's delegate to monitor for text changes and button presses.
|
UIViewController |
searchResultsController() |
UISearchResultsUpdating |
searchResultsUpdater()
The object responsible for updating the content of the searchResultsController.
|
void |
setActive(boolean value)
Setting this property to YES is a convenience method that performs a default presentation of the search controller appropriate for how the controller is configured.
|
void |
setAutomaticallyShowsCancelButton(boolean value)
Default YES
|
void |
setAutomaticallyShowsScopeBar(boolean value)
Defaults to YES
|
void |
setAutomaticallyShowsSearchResultsController(boolean value)
When true, UISearchController will automatically show its results controller based on the contents of its text property.
|
void |
setDelegate_unsafe(UISearchControllerDelegate value) |
void |
setDelegate(UISearchControllerDelegate value) |
void |
setDimsBackgroundDuringPresentation(boolean value)
default is YES, and has the same behavior as obscuresBackgroundDuringPresentation.
|
void |
setHidesNavigationBarDuringPresentation(boolean value)
default is YES
|
void |
setObscuresBackgroundDuringPresentation(boolean value)
On iOS, default is NO for apps linked on iOS 15.0 and later, YES otherwise.
|
void |
setSearchResultsUpdater_unsafe(UISearchResultsUpdating value)
The object responsible for updating the content of the searchResultsController.
|
void |
setSearchResultsUpdater(UISearchResultsUpdating value)
The object responsible for updating the content of the searchResultsController.
|
void |
setShowsSearchResultsController(boolean value)
Set this property to directly control the visibility of the search results controller.
|
static void |
setVersion_static(long aVersion) |
boolean |
showsSearchResultsController()
Set this property to directly control the visibility of the search results controller.
|
static org.moe.natj.objc.Class |
superclass_static() |
double |
transitionDuration(UIViewControllerContextTransitioning transitionContext)
This is used for percent driven interactive transitions, as well as for
container controllers that have companion animations that might need to
synchronize with the main animation.
|
static long |
version_static() |
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentScrollViewForEdge, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, isBeingDismissed, isBeingPresented, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, removeFromParentViewController, removeKeyCommand, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentScrollViewForEdge, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass_unsafe, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate_unsafe, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, sheetPresentationController, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldUpdateFocusInContext, showDetailViewControllerSender, showViewControllerSender, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unwindForSegueTowardsViewController, updateFocusIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinatoractivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected UISearchController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UISearchController alloc()
public static UISearchController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static void attemptRotationToDeviceOrientation()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UISearchController new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void animateTransition(UIViewControllerContextTransitioning transitionContext)
UIViewControllerAnimatedTransitioninganimateTransition in interface UIViewControllerAnimatedTransitioningpublic UIViewControllerAnimatedTransitioning animationControllerForDismissedController(UIViewController dismissed)
animationControllerForDismissedController in interface UIViewControllerTransitioningDelegatepublic UIViewControllerAnimatedTransitioning animationControllerForPresentedControllerPresentingControllerSourceController(UIViewController presented, UIViewController presenting, UIViewController source)
public void animationEnded(boolean transitionCompleted)
UIViewControllerAnimatedTransitioninganimationEnded in interface UIViewControllerAnimatedTransitioningpublic UISearchControllerDelegate delegate()
public boolean dimsBackgroundDuringPresentation()
public boolean hidesNavigationBarDuringPresentation()
public UISearchController init()
init in class UIViewControllerpublic UISearchController initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewControllerpublic UISearchController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
initWithNibNameBundle in class UIViewControllerpublic UISearchController initWithSearchResultsController(UIViewController searchResultsController)
public UIViewControllerInteractiveTransitioning interactionControllerForDismissal(UIViewControllerAnimatedTransitioning animator)
interactionControllerForDismissal in interface UIViewControllerTransitioningDelegatepublic UIViewControllerInteractiveTransitioning interactionControllerForPresentation(UIViewControllerAnimatedTransitioning animator)
interactionControllerForPresentation in interface UIViewControllerTransitioningDelegatepublic UIViewImplicitlyAnimating interruptibleAnimatorForTransition(UIViewControllerContextTransitioning transitionContext)
UIViewControllerAnimatedTransitioninginterruptibleAnimatorForTransition in interface UIViewControllerAnimatedTransitioningpublic boolean isActive()
public void setActive(boolean value)
public boolean obscuresBackgroundDuringPresentation()
public UIPresentationController presentationControllerForPresentedViewControllerPresentingViewControllerSourceViewController(UIViewController presented, UIViewController presenting, UIViewController source)
public UISearchBar searchBar()
public UIViewController searchResultsController()
public UISearchResultsUpdating searchResultsUpdater()
public void setDelegate_unsafe(UISearchControllerDelegate value)
public void setDelegate(UISearchControllerDelegate value)
public void setDimsBackgroundDuringPresentation(boolean value)
public void setHidesNavigationBarDuringPresentation(boolean value)
public void setObscuresBackgroundDuringPresentation(boolean value)
public void setSearchResultsUpdater_unsafe(UISearchResultsUpdating value)
public void setSearchResultsUpdater(UISearchResultsUpdating value)
public double transitionDuration(UIViewControllerContextTransitioning transitionContext)
UIViewControllerAnimatedTransitioningtransitionDuration in interface UIViewControllerAnimatedTransitioningpublic boolean automaticallyShowsCancelButton()
public boolean automaticallyShowsScopeBar()
public boolean automaticallyShowsSearchResultsController()
public void setAutomaticallyShowsCancelButton(boolean value)
public void setAutomaticallyShowsScopeBar(boolean value)
public void setAutomaticallyShowsSearchResultsController(boolean value)
public void setShowsSearchResultsController(boolean value)
public boolean showsSearchResultsController()