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

UISearchDisplayController, how to register a prototype build in storyboard editor

I have a simple UITableViewController subclass, that shows different cell prototypes. I've also added a UISearchDisplayController to manage the search, unfortunately if I try to search something it crashes. This is due to the fact that I'm trying to…
Andrea
  • 26,120
  • 10
  • 85
  • 131
0
votes
0 answers

UISearchDisplayController creates a UIPopovercontroller. How dismiss it?

When I start taping in searchBar, the result popover appear. It's happen only on IPad, on iPhone everything work fine. How can I dismiss this popover? I show result in my tableView, I don't need this popover. - (void)viewDidLoad { [super…
helecta
  • 1
  • 2
0
votes
1 answer

Using UISearchDisplayController in a child controller

I made a tabbed controller where the tabs are on top. Underneath the tabs I have a subview which will contain a tableViewController as a child controller. The tableViewController has a searchBar and a UISearchDisplayController. The problem is, when…
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
0
votes
2 answers

Overlay area stays on top after searching a list UIView

I have a UIView with a list of items. When I click the search bar the keyboard comes up and the rest of the screen contains a grey overlay. When I click on the grey overlay the keyboard disappears, however the overlay area stays on top and is not…
cateof
  • 6,608
  • 25
  • 79
  • 153
0
votes
1 answer

iOS7 Keyboard Behavior with SearchBar/UITableView: Offset on secondary view appearances

Problem I am having a rather big issue with the iOS7 keyboard appearance. I have a Searchbar on a UIViewController with TableView Delegation/Data Source setup (I am using the self.searchDisplayController delegates as well). I segue from this scene…
Tommie C.
  • 12,895
  • 5
  • 82
  • 100
0
votes
1 answer

Set up a UISearchDisplayController for a UITableViewController without a UISearchBar

I find that the only way to build a UISearchDisplayController is to also build a UISearchBar onto my UITableViewController. However, I don't want a UISearchBar to show up, and would like to initiate the search via a button press instead. Is this…
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
0
votes
0 answers

Online search in SearchBar

I trying to do an online search using searchBar, I doing next: //-=-=-=-=Methods for search Bar=-=-=-= -(void)searchThroughData { self.result=nil; //Send searched substrint ti server if (self.searchBar.text.length > 0) { …
daleijn
  • 718
  • 13
  • 22
0
votes
1 answer

Custom tableview of search display controller

I do not like the tableview comes with the search display controller, as I want to make some kind of pull to refresh/loadmore to the table, so I was wondering if the tableview can be customized?
user2053760
  • 1,673
  • 2
  • 14
  • 19
0
votes
1 answer

UISearchBarDisplayController not working well with UINavigationBar

I have a UISearchBarDisplayController which is the header view of my UITableView. When I click on the UISearchBar, the animation is jerky and it lags when the search bar moves its frame to the top. I am trying to emulate what is shown in the…
kamran619
  • 531
  • 10
  • 32
0
votes
0 answers

TableView of UISearchDisplayController always hidden

The searchResultsTableView of my UISearchDisplayController is always hidden (hidden=YES) in searchDisplayControllerDidBeginSearch:. Setting the property manually does not help unfortunately. Here is my code: self.searchBar = [[UISearchBar alloc]…
gpichler
  • 2,181
  • 2
  • 27
  • 52
0
votes
1 answer

Search Display Controller result tableview cannot scroll in iOS 6

I'm encountering this weird bug regarding UISearchDisplayController's table view, which occurs only in iOS 6. I just created my tableview in a nib file and then programmatically added a search bar above it and a search display controller to filter…
huong
  • 4,534
  • 6
  • 33
  • 54
0
votes
1 answer

Search in a UITableViewController with CoreData: Take a second NSFetchedResultsController?

in a news project for my company I need to provide a search function. I'm using a UITableViewController and CoreData/NSFetchedResultsController to show the news and a UISearchDisplayController to provide the search. Now my question: What is the…
0
votes
1 answer

UISearchBar shows "No Results" whether if there are search text matches or not

I'm working on a table view search bar to search my Core Data content and show the matching content in the UITableView. The Problem is, that whether if you type in a search text which matches with some of the Content or not the TableView shows "No…
0
votes
1 answer

Displaying search results crashes when using UISearchDisplayController

I tried to implement a SearchBarView Controller to my TableView with CoreData. But, when I tap on the Searchbar, the app crashes and I get the following Error: Assertion failure in -[UISearchResultsTableView …
user255368
  • 17
  • 6
0
votes
1 answer

Cells in UITableView keep clear when searching in UISearchBar

I have got an application which has a UITableView containing two sections. Now I wanted to add a UISearchBar to allow searching. And the searching really works pretty fine and selects the correct cells. When searching you can see that there are…