Questions tagged [uisearchdisplaycontroller]

UISearchDisplayController is part of Apple's UIKit framework. It greatly simplifies adding UISearchBars to UITableViews.

A UISearchDisplayController manages the display of a search bar, along with a table view that displays search results.

You initialize a search display controller with a search bar and a view controller responsible for managing the data to be searched. When the user starts a search, the search display controller superimposes the search interface over the original view controller’s view and shows the search results in its table view. The searchDisplayController was deprecated in iOS version 8.0

References:

822 questions
0
votes
0 answers

How do I get the search results (tableview) appear automatically in a SearchDisplayViewController when search bar is clicked?

I have a SearchDisplayViewController that has the search result tableview that appears after you click the searchbar and type some characters. I am wondering if it is possible to have the searchresult tableview before you type any characters? I will…
This Is
  • 137
  • 7
0
votes
1 answer

Why is my UISearchDisplayController accessing an illegal cell / indexPath?

I have a table view with a search bar. Initially, the table view shows all (10) items. When I select a cell, a detail view is pushed on the navigation controller stack, and I can then go back to the table view by tapping the Back button. As long as…
thomers
  • 2,603
  • 4
  • 29
  • 50
0
votes
1 answer

Display UISearchBar over tableView when user touches UIBarButtonItem

In my iOS app, I would like to have a right side search button in my UINavigationController, and when a user touches the button, the UISearchBar above my UITableView is shown. I would like the UISearchBar hidden when the view loads, and then hidden…
0
votes
1 answer

NSInvalidArgumentException - unrecognized selector sent to instance

I am using the following function to do a search using a SearchDisplayController - (void)handleSearchForTerm:(NSString *)searchTerm{ [self.searchResults removeAllObjects]; // First clear the filtered array. FMDatabase *db = [FMDatabase…
Tassos Voulgaris
  • 878
  • 1
  • 9
  • 21
0
votes
1 answer

Search Bar in Navigation Bar in iOS 7

I'm relatively new to iOS programming and I have a Table View Controller that has a Navigation bar at the top and i'm trying to get the search bar from "search bar and search display controller" to appear in the navigation bar. I've googled around…
user1217222
  • 67
  • 2
  • 8
0
votes
1 answer

uisearchdisaplycontroller inside uiviewcontrolelr - programmatically

I create a UIViewController with a UITableView and UISearchDisplayController, the problem is that shouldReloadTableForSearchString not run...this is my code, where is the mistake for you? - (void)viewDidLoad { [super viewDidLoad]; array =…
0
votes
1 answer

UISearchDisplayController on iOS7

I'm having a very annoing problem on iOS7. I have a VC with different subviews, one is a tableview that is display fullscreen after pressing a button. This tableview has a search bar with a scope bar in its header that is linked to a search display…
Andrea
  • 26,120
  • 10
  • 85
  • 131
0
votes
1 answer

Warning: A long-running Parse operation is being executed on the main thread

my app uses a SearchGraphical to search for registered users in the app ... My problem is that when I go to do research shows me the duplicate results as: Name Search: Francesca Result: Francesca (1 cell) Francesca (2 Cell) **09/14/2013 22:18:17.817…
kAiN
  • 2,559
  • 1
  • 26
  • 54
0
votes
1 answer

UISearchDisplayController in DetailView only displays results once

I implemented a UISearchDisplayController on both sides of a MasterViewController. In the Detail view, it works fine with the first item selected from the MasterView. However, if I choose another Detail item, the search will not display any object…
mirx
  • 148
  • 11
0
votes
2 answers

App Crashing on launch with AppDelegate tableView:numberOfRowsInSection: unrecognized selector sent to instance

I have a Search Display Controller which displays the search results in a tableView and another tableView made using IB in the same UIViewController. The app worked fine until I added the code to populate the tableView I made using IB. But now when…
Harikrishnan
  • 7,765
  • 13
  • 62
  • 113
0
votes
2 answers

Search Results not visible

I have a table view with a search display controller. When I type a search the log shows me the search is working and filtering properly however the screen only shows "No Results". I'm using Core Data if that makes a difference. -…
0
votes
0 answers

It doesn't show the contents of the cells in a UITableView filtered by a UISearchDisplayController

Why it doesn't show the contents of the cells in a UITableView filtered by a uisearchdisplaycontroller. In practice when I execute the search in the Searchbar, the cells are decoded correctly (in fact the number of cells sorted by the search is…
0
votes
1 answer

UISearchbar Controller problems, displaying results?

So as of right now I am trying to implement a UISearchBarController and have been successful in filtering and getting it to do the searching right, however when I search whats displayed in the UITableviewCells is incorrect. The app is just a test…
0
votes
1 answer

UISearchDisplayController with custom UITableViewCell at the second search lose UITableViewCell connection

i'm trying to add a UISearchDisplayController and UISearchBar to my UIViewController with UITableViewController add with InterfaceBuilder, this is my code: @interface MyClass ()
Piero
  • 9,173
  • 18
  • 90
  • 160
0
votes
2 answers

UITableViewController with UISearchDisplayController not reloading data

I have a ViewController class with an appropriate .XIB file. Here is the ViewController code: ViewController.h: #import #import @interface ViewController : UIViewController { NSArray *news; …
Witch-King
  • 283
  • 1
  • 5
  • 13