init
TypeScriptstatic initCoder(coder: _Foundation_NSCoder): Promise<(UISearchController) | null>Swift declarationinit?(coder: NSCoder)class · iOS 8.0+ · SDK 27.1
@MainActor class UISearchControllerstatic initCoder(coder: _Foundation_NSCoder): Promise<(UISearchController) | null>Swift declarationinit?(coder: NSCoder)static initNibNameBundle(nibNameOrNil?: (string) | null, nibBundleOrNil?: (_Foundation_Bundle) | null): Promise<UISearchController>Swift declarationinit(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)static initSearchResultsController(searchResultsController?: (UIViewController) | null): Promise<UISearchController>Swift declarationinit(searchResultsController: UIViewController?)get isActive(): Promise<boolean>Swift declarationvar isActive: Bool { get set }setIsActive(value: boolean): Promise<void>Swift declarationvar isActive: Bool { get set }get automaticallyShowsCancelButton(): Promise<boolean>Swift declarationvar automaticallyShowsCancelButton: Bool { get set }setAutomaticallyShowsCancelButton(value: boolean): Promise<void>Swift declarationvar automaticallyShowsCancelButton: Bool { get set }get automaticallyShowsScopeBar(): Promise<boolean>Swift declarationvar automaticallyShowsScopeBar: Bool { get set }setAutomaticallyShowsScopeBar(value: boolean): Promise<void>Swift declarationvar automaticallyShowsScopeBar: Bool { get set }get automaticallyShowsSearchResultsController(): Promise<boolean>Swift declarationvar automaticallyShowsSearchResultsController: Bool { get set }setAutomaticallyShowsSearchResultsController(value: boolean): Promise<void>Swift declarationvar automaticallyShowsSearchResultsController: Bool { get set }get delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any UISearchControllerDelegate)? { get set }setDelegate(value?: (Implements<UISearchControllerDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any UISearchControllerDelegate)? { get set }get dimsBackgroundDuringPresentation(): Promise<boolean>Swift declarationvar dimsBackgroundDuringPresentation: Bool { get set }setDimsBackgroundDuringPresentation(value: boolean): Promise<void>Swift declarationvar dimsBackgroundDuringPresentation: Bool { get set }get hidesNavigationBarDuringPresentation(): Promise<boolean>Swift declarationvar hidesNavigationBarDuringPresentation: Bool { get set }setHidesNavigationBarDuringPresentation(value: boolean): Promise<void>Swift declarationvar hidesNavigationBarDuringPresentation: Bool { get set }get ignoresSearchSuggestionsForSearchBarPlacementStacked(): Promise<boolean>Swift declarationvar ignoresSearchSuggestionsForSearchBarPlacementStacked: Bool { get set }setIgnoresSearchSuggestionsForSearchBarPlacementStacked(value: boolean): Promise<void>Swift declarationvar ignoresSearchSuggestionsForSearchBarPlacementStacked: Bool { get set }get obscuresBackgroundDuringPresentation(): Promise<boolean>Swift declarationvar obscuresBackgroundDuringPresentation: Bool { get set }setObscuresBackgroundDuringPresentation(value: boolean): Promise<void>Swift declarationvar obscuresBackgroundDuringPresentation: Bool { get set }get scopeBarActivation(): Promise<UISearchController_ScopeBarActivation>Swift declarationvar scopeBarActivation: UISearchController.ScopeBarActivation { get set }setScopeBarActivation(value: UISearchController_ScopeBarActivation): Promise<void>Swift declarationvar scopeBarActivation: UISearchController.ScopeBarActivation { get set }get searchBar(): Promise<UISearchBar>Swift declarationvar searchBar: UISearchBar { get }get searchBarPlacement(): Promise<UINavigationItem_SearchBarPlacement>Swift declarationvar searchBarPlacement: UINavigationItem.SearchBarPlacement { get }get searchResultsController(): Promise<(UIViewController) | null>Swift declarationvar searchResultsController: UIViewController? { get }get searchResultsUpdater(): Promise<(SDKHandle) | null>Swift declarationweak var searchResultsUpdater: (any UISearchResultsUpdating)? { get set }setSearchResultsUpdater(value?: (Implements<UISearchResultsUpdating> | SDKHandle) | null): Promise<void>Swift declarationweak var searchResultsUpdater: (any UISearchResultsUpdating)? { get set }get searchSuggestions(): Promise<(Array<SDKHandle>) | null>Swift declarationvar searchSuggestions: [any UISearchSuggestion]? { get set }setSearchSuggestions(value?: (Array<SDKHandle>) | null): Promise<void>Swift declarationvar searchSuggestions: [any UISearchSuggestion]? { get set }get showsSearchResultsController(): Promise<boolean>Swift declarationvar showsSearchResultsController: Bool { get set }setShowsSearchResultsController(value: boolean): Promise<void>Swift declarationvar showsSearchResultsController: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UISearchController.init()
inherited init: cannot prove legal (class declares 2 custom initializers)