Top "Uisearchcontroller" questions

The UISearchController class defines an interface that manages the presentation of a search bar.

How to implement UISearchController in UITableView - Swift

I am a newbie to Swift and I am trying to add search functionality to my UITableView which is in …

ios uitableview swift uisearchbar uisearchcontroller
UISearchBar presented by UISearchController in table header view animates too far when active

I am using UISearchController to present a search bar inside the header view of a tableview: ... self.searchController.hidesNavigationBarDuringPresentation = NO; …

ios uitableview ios8 uisearchbar uisearchcontroller
Attempting to load the view of a view controller while it is deallocating... UISearchController

I have code that creates a UISearchController' in my UIVIew'sviewDidLoad`. self.resultSearchController = ({ let controller = UISearchController(searchResultsController: nil) controller.searchResultsUpdater = self …

ios swift uisearchcontroller
How do you dismiss a UISearchController ? (iOS 8 and follow)

This must be trivial, but I can't find how you're supposed to dismiss a UISearchController programmatically? Note that it's the …

swift uisearchcontroller
iOS 9 searchBar disappears from table header view when UISearchController is active

The structure: View1 (click a button) -> present modally (MyModalView: UITableViewController) MyModalView has UISearchController embedded. The searchBar of UISearchController …

ios swift uisearchbar ios9 uisearchcontroller
Change UISearchBar cancel button text in iOS 8

I'd like to change the text from "Cancel" to "Done" of the Cancel button inside the UISearchBar in iOS 8. I …

ios ios8 uisearchbar uisearchcontroller
Cannot set searchBar as firstResponder

I have a searchBar I'm setting in a tableviewcontroller. i've referenced this similar question UISearchBar cannot become first responder after …

ios objective-c uisearchbar first-responder uisearchcontroller
UISearchController iOS 11 Customization

I had been using the following code prior to iOS 11 to customize the appearance of the UISearchController search bar: var …

ios swift uisearchcontroller ios11
Show search bar in navigation bar without scrolling on iOS 11

I’m attaching a UISearchController to the navigationItem.searchController property of a UITableViewController on iOS 11. This works fine: I can …

ios uinavigationitem uisearchcontroller
How to implement UISearchController with objective c

I have an existing app, written in objective-c, with a table view. I am now trying to go back to …

ios objective-c uisearchcontroller