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

How to respond to a touch in a UISearchBar and SearchDisplayController iPhone

I have followed this tutorial: http://blog.patrickcrosby.com/2010/04/27/iphone-ipad-uisearchbar-uisearchdisplaycontroller-asynchronous-example.html In order to get my UISearchBar with SearchDisplayController. It works fine, but I don't know how…
0
votes
1 answer

Controller is not going inside the condition if (tableView == self.searchDisplayController.searchResultsTableView )

in my iphone app i have implimented UISearchDisplayController , while searching inside the didSelectRowAtIndexPath method controller is not going inside the condition if (tableView == self.searchDisplayController.searchResultsTableView ) I have…
Ravi
  • 1,759
  • 5
  • 20
  • 38
0
votes
2 answers

Update a cell in a filtered table from background?

I have a table that displays images. It can be searched live, which adjusts the cells being displayed. The images are loaded in the background using a concurrent NSOperation subclass over the network when the image is not already immediately…
Steven Fisher
  • 44,462
  • 20
  • 138
  • 192
0
votes
1 answer

Simplest way for UISearchDisplayController to show same cells as the origin

What's the simplest way to make UISearchDisplayController display exactly the same cells (formatting, height, fonts, colors, etc) as the original tableView that it searched on? or simply put - make it dequeue de same cell identifier? I am using a…
mindbomb
  • 1,642
  • 4
  • 20
  • 35
0
votes
2 answers

How can i achieve this smart search in obj c

In my iphone app i have a search screen with UISearchDisplaycontroller uisng this against each scopeBar key words we can filter the search result, But using only this scopeBar buttons i couldnt reach my requirement. See, I have a list of members, I…
Ravi
  • 1,759
  • 5
  • 20
  • 38
0
votes
1 answer

UISearchDisplayController Activity Indicator

I'm using a UISearchDisplayController to display some search results in a table view. Every time the text field of the search bar changes, the activity indicator spinner next to "Loading..." resets its animation. That is, if I query "a" in the…
0
votes
1 answer

objective c - how do I set the scope when declaring what my cell.textlabels should be?

I have this code that where I would normally use one line: if (tableView == self.searchDisplayController.searchResultsTableView) { NSLog(@"Configuring cell to show search results"); shoppingList = [self.searchResults…
jwknz
  • 6,598
  • 16
  • 72
  • 115
0
votes
1 answer

Delegate Methods Not Firing on Search Results Table

All, I have a UITableView w/detail, with a Search bar, created from code. Works fine on selected items except it doesn't work when an item is clicked from the search results; no delegate methods fire. Never seen this type of behavior before so I…
Slinky
  • 5,662
  • 14
  • 76
  • 130
0
votes
1 answer

Stopping UISearchDisplayController to dismiss the searchbar keyboard

I have a UISearchBar which I am putting in UISearchDisplayController. Now, whenever I tap on the 'Search' button on the keyboard, it dismisses the keyboard. I am implementing the below method to stop searching whenever 'Search' button is tapped in…
Abhinav
  • 37,684
  • 43
  • 191
  • 309
0
votes
1 answer

Changing SearchDisplayController Delegate in interface builder

I'm trying to show a search bar above a table with a list of recent searches that will swap to matching search results once someone enters a search term. I want to set a custom class MySearchViewController to be the delegate for doing the search and…
MathewS
  • 2,267
  • 2
  • 20
  • 31
0
votes
1 answer

Search display controller iOS results disappear then reappear between words

I am searching my products like the below. It works fine however when searching between 2 words the results disappear then reappear once the user has entered the first character of the next word. i.e if I search "td pro" or "pro td" the results are…
Alex McPherson
  • 3,185
  • 3
  • 30
  • 41
0
votes
1 answer

UISearchBar: weird expanding animation

I am using UISearchBar provided by the UISearchBar+SearchDisplayController in the Interface Builder, the search bar is positioned on right of a view, and I need to to expand towards the left when it is activated, but the system seems to expand it…
hzxu
  • 5,753
  • 11
  • 60
  • 95
0
votes
2 answers

App crashes when clicking on UISearchbar (searchDisplayController)

I am implementing the searchdisplay controller on the iPhone App, but will hit the following error when I try to click on the search bar (after a few tries) Thread 1: EXC_BAD_ACCESS (code=1, address=0x30000008) Snippet of my code as follows: -…
Zhen
  • 12,361
  • 38
  • 122
  • 199
0
votes
2 answers

filteredArrayUsingPredicate array not retained

I have a core data database and each row is shown in a table. I have a search controller to enable the user to search by first or last name. When i get results from 'filteredArrayUsingPredicate' i reload the search controller table and all works…
Dan
  • 1,447
  • 2
  • 14
  • 30
-1
votes
1 answer

I want to Change Color of 'No Results' in Searchdisplaycontroller

I want to change color of No Results in search controller. I can change the search table background color separate indexcolor.
shirish
  • 11
  • 6
1 2 3
54
55