iOS Guides | Samples

MonoTouch.UIKit.UISearchController Class

A UIViewController that manages the user experience of a search bar (UISearchBar) and associated results (see UISearchResultsUpdating).

See Also: UISearchController


[MonoTouch.Foundation.Register("UISearchController", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UISearchController : UIViewController, IUIViewControllerAnimatedTransitioning, IUIViewControllerTransitioningDelegate, IDisposable

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UISearchController are listed below.

See Also: UIViewController

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Creates a search controller by using a UIViewController that manages the results of searches.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a new search controller from the named NIB in the specified bundle.

Public Properties

ActiveBoolean. Gets or sets whether to display the search interface by default. The default is true.
ClassHandleIntPtr. The handle for this class.
DelegateUISearchControllerDelegate. An instance of the MonoTouch.UIKit.UISearchControllerDelegate model class which acts as the class delegate.
DimsBackgroundDuringPresentationBoolean. Gets or sets whether to dim contents during a search. The default is true.
HidesNavigationBarDuringPresentationBoolean. Gets or sets whether to hide the navigation bar while searching. The default is true.
ObscuresBackgroundDuringPresentationBoolean. Gets or sets a Boolean value that controls whether the controller obscures content while performing a search.
SearchBarUISearchBar. Gets the search bar object used by this UISearchController.
SearchResultsControllerUIViewController. Gets the UIViewController that manages search results.
SearchResultsUpdaterUISearchResultsUpdating. Gets or sets the UISearchResultsUpdating object that updates the contents of the UIViewController.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type
WeakSearchResultsUpdaterNSObject. Gets or sets the search controller that updates the search results.

Public Methods

Causes the animator object to perform transition animations.
Informs the animator object whether transition animations finished successfully.
GetAnimationControllerForDismissedController(UIViewController) : IUIViewControllerAnimatedTransitioning
Gets the transition animation object to use when the app dismisses this controller.
GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning) : IUIViewControllerInteractiveTransitioning
Gets the interactive animator object to use when the app dismisses this controller.
GetInteractionControllerForPresentation(IUIViewControllerAnimatedTransitioning) : IUIViewControllerInteractiveTransitioning
Gets the interactive animator object to use when the app presents this controller.
GetInterruptibleAnimator(IUIViewControllerContextTransitioning) : IUIViewImplicitlyAnimating
GetPresentationControllerForPresentedViewController(UIViewController, UIViewController, UIViewController) : UIPresentationController
Gets the presentation controller to use to manage the view hierarchy when the app presents this controller.
PresentingController(UIViewController, UIViewController, UIViewController) : IUIViewControllerAnimatedTransitioning
Gets an animator object to use when presenting this search controller.
Assigns the updateSearchResults search controller to update the search results.
TransitionDuration(IUIViewControllerContextTransitioning) : Double
Obtains the duration, in seconds, of the transition animation from the animator object.

Protected Methods

Releases the resources used by the UISearchController object.