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

How to show the custom Search Bar?

Hi I am working with the UISearchDisplay controller.working fine But it is showing like Apple's Default one.But I need like below image But in app it is showing like below I am using working with the Storyboard.
-1
votes
1 answer

UISearchDisplayController Issue

I am trying to implement UISearchDisplayController in my existing tableview but whenever i try to search it covers all the view. Please check the below screen shot more detail idea. I am using xCode 7 Beta and iOS9 Simulator. Here when i start…
Malav Soni
  • 2,739
  • 1
  • 23
  • 52
-1
votes
1 answer

Both loops think table is always nil, even though it isn't

I am trying to give users an error when they don't select a row in the table view. Now, the only problem is the searchDisplayController. This is the IF loop I've came up with for the searchDisplayController. It just doesn't seem to work because…
-1
votes
2 answers

-[__NSArrayI length]: crash when trying to filter with searchController

I'm trying to filter with searchController. I am getting a crash (-[__NSArrayI length]: unrecognized selector sent to instance) at line NSRange productNameRange = NSMakeRange(0, [[_list valueForKey:@"name"] length]); in the following…
user3411663
  • 1,041
  • 1
  • 9
  • 12
-1
votes
1 answer

Why does UISearchDisplayController has to be a class variable?

I'm using Xamarin iOS. In ViewDidLoad I'm instantiating my UISearchBar, UISearchDisplayController, UISearchDisplayDelegate and UITableViewSource. Thereby I'm using a class variable for the UISearchDisplayController. Because I only used it in…
testing
  • 19,681
  • 50
  • 236
  • 417
-1
votes
1 answer

Code not working from SearchDisplayController

So I have a TableView app where you can favorite certain items with a search bar at the top with a searchDisplayController. I have a push segue from the tableview to another view controller (which is where you do the favoriting/un-favoriting). It is…
Lucas
  • 713
  • 2
  • 8
  • 19
-1
votes
1 answer

UISearchDisplayController - Not getting result in uitableview

I am using UISearchDisplayController ,I am getting filtered data but this property is not active . tableView == self.searchDisplayController.searchResultsTableView so I am not getting the proper result can anyone tell me what should I do ? I have…
-1
votes
1 answer

Search bar doesn't show the correct result

I have a table of contents and have a search bar in the top, however, when I search for a particular name in the table content it doesn't show up in the table view, however, i have "NSLog" which is printing my search result. the search result is…
Crazy
  • 386
  • 2
  • 4
  • 13
-2
votes
1 answer

Creating Seperate UITableView for Displaying Search Results

When I search for tutorials about the UISearchBar online, they usually talk about creating a search bar in the same UITableVie as the one displaying unfiltered data. I would like to create a UISearchBar and a search button, then use a second,…
-2
votes
1 answer

Search using UISearchDisplayController - error when tapping tableview cell

I have created a view to display all users from user class on Parse server by using PFQueryTableViewController also with UISearchDisplayController in order to do filtering and searching. All of those features is working fine but there remains one…
-2
votes
4 answers

UISearchBar: search results hidden behind the searchbar

I have implemented an empty ViewController i.e SearchViewController with a SearchBar in it. Ans as i am searching from a web service, i want the search results to be displayed only when the user presses the search button. That has been implemented.…
-3
votes
1 answer

[__NSCFString setView:]: unrecognized selector sent to instance 0x8292720

I have searchBar and searchDisplayController put in tabbar that is main tabbar. When I open new viewcontroller by pushing there has no problem. mainTabbar -> navigationController+searchController -(push after rowdidselect)-> newVC -(push)-> newVC…
1 2 3
54
55