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
1 answer

Can i change UITableViewCell appearance in UISearchDisplayController's searchResultsTable when it displays no results

Possible Duplicate: How to change UITableViewCell appearance if cellForRowAtIndexPath is not calling I have a table view with search display controller in my app. Table view cells have custom background color, created by pattern image. The…
tagirkaZ
  • 469
  • 7
  • 19
0
votes
2 answers

[__NSCFConstantString objectAtIndex:]: unrecognized selector sent to instance 0x3141c

I am trying to get a search display controller working and have just got this error: 2012-11-30 14:48:19.903 searchstory[5812:c07] -[__NSCFConstantString objectAtIndex:]: unrecognized selector sent to instance 0x3141c 2012-11-30 14:48:19.904…
David
  • 319
  • 2
  • 5
  • 18
0
votes
2 answers

Updating UISearchDisplayController with Core Data results using GCD

I'm having trouble displaying the results from Core Data in my UISearchDisplayController when I implement GCD. Without it, it works, but obviously blocks the UI. In my SearchTableViewController I have the following two methods: -…
0
votes
1 answer

Uisearchbar and Searchcontroller in Storyboard IOS6

I have the following search working fine pragmatically, however I would like to add this code to another project that uses storyboard. the UIViewcontroller works ok and even returns data from the database through JSON, however I keep getting this…
0
votes
1 answer

Checkmark rows in searchResultsTableView

I have a tableView who's datasource is an array with 400 static items in it. In my app you can select a row and it will place a checkmark on that row. I'm keeping track of the checked item's indexPaths in another array so that the table can be…
Selch
  • 131
  • 1
  • 10
0
votes
1 answer

searchResultsTableView doesn't equal tableview?

I have UIview contains tableview with search display controller after searching it display the same table my expectation I have a problem with : TableView numberOfRowsInSection# so I debugged it. it display search view but it doesn't fire the if…
0
votes
1 answer

How to get selected row from UITableView with Search Display Controller

I have my search display view controller based off TableSearch. Normally, following expression gives selected index row: self.tableView.indexPathForSelectedRow.row However while in search mode, selected row can be obtained…
0
votes
1 answer

Multiple UISearchDisplayController showing the same results

I encountered a problem recently. In my application, I have a tabBar in which two tabs contain a UISearchDisplayController. When I make a research in both searchDisplayController, and then switching between tabs, they are showing the same result…
Matthias
  • 999
  • 11
  • 25
0
votes
1 answer

display two UIViews and search display controller in one view

I have a uiview with a button on that. When click on that button i am showing a subview. The subview contains a table view and a search display controller. when i enter something on search bar it will be showing the search result tableview. once…
priyanka vijesh
  • 227
  • 1
  • 3
  • 7
0
votes
1 answer

Crash with rotating SearchDisplayController: [Object _existingView]: unrecognized selector sent to instance

I've seen various question on this topic but never found a good answer for it. I have an App that's using UITableViewController and that instantiates a SearchDisplayController for it. I receive random crash from my crash reporter that every time…
0
votes
1 answer

ios tableview crash as soon as search start

I want to use tableview + searchDisplay with two different source, that is, when user attempts to search on searchbar, it should searches from different an array, and display it. The way I can do this is, distinguish source in table view delegate…
REALFREE
  • 4,378
  • 7
  • 40
  • 73
0
votes
2 answers

Adding a toolbar to the result of an UISearchDisplayController

i´m having a tough time with UISearchDisplayController. In my scenario i have an UIView pushed onto a navgation controller. In the UIView i have an UITableView and UIToolbar. In the UITableView I´m using UISearchDisplayController. The toolbar…
0
votes
1 answer

Show searchDisplayController.searchResultsTableView when searchbar is selected

I want to show the searchResultsTableView when my searchBar is selected. I have tried this: - (void) searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller { [self.searchDisplayController.searchResultsTableView…
Crystal
  • 28,460
  • 62
  • 219
  • 393
0
votes
2 answers

Why searchFetchedResultsController set to nil?

The following code is from the accepted answer of this post, regarding with implement search bar in table view with Core Data. It uses two fetched results controller (FRC). One for the "normal" table view, one for search results table view. And it…
Philip007
  • 3,190
  • 7
  • 46
  • 71
0
votes
1 answer

UITableView with UISearchDisplay and Checkmarks

I´ve got a TableView with a Searchdisplay and when the user tabs on a cell, the cell accessoryType toggles between none and checkmark. That works fine, when i´m using only the tableview. But when I select a cell while i´m using the searchdisplay,…
user1199624