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

search bar change the y value after search something

I have a added search controller to search locations from google. My problem is after type something is search bar, its going to change the position of the search bar. I have added the screen shots. Please give me a solution for this Befor type…
user2889249
  • 899
  • 2
  • 13
  • 22
0
votes
1 answer

Search Display Controller Crashes When Returning Results

I have a tableview with a search display controller. It has been working fine in the past, but recently has started crashing for certain search results. Here my code searches a Golfer based on their Name, Age and Handicap. The data is correctly…
0
votes
1 answer

UISearchDisplayController does not update search results

I have the following search setup in my app: - (UISearchBar*)searchBar { if (!_searchBar) { _searchBar = [[UISearchBar alloc] init]; _searchBar.delegate = self; _searchBar.placeholder = kSearchBarPlaceHolder; } …
0
votes
1 answer

Tableview search, cuts display

Hey guys I simply can't solve this problem i've got. https://i.stack.imgur.com/riuM1.png I have tried setting bounds of the UITableView like so: [tableView setBounds:CGRectMake(tableView.frame.origin.x, tableView.frame.origin.y, 320,…
Steelzeh
  • 284
  • 2
  • 13
0
votes
1 answer

UISearchDisplayController UISearchBar Animation in a UIScrollView under UIPageControl

It's a really tough bug to squash, my ObjC-fu is just really beginner and my confidence is crashing the longer I look into this pretty bug... The App is required to have a view (let's call it mainView) with UIPageControl and UIScrollView in order to…
0
votes
1 answer

How To Search The TableviewData in Different ViewController?

I have a NewsViewController where News Displaying Form XML , My Problem is I Created Separate Class Called SearchVC and I have Added the Search Bar, Here I want search the all the News (from NewsViewController). The Search Result Should Display in…
0
votes
1 answer

What method is called when Search/Return is pressed in a UISearchBar?

I have a UISearchBar linked to a table view, which works fine. As you're typing it filters the results as expected. When you press Search, however, the results all vanish, leaving an empty list (the unfiltered list doesn't return, not until you…
mazz0
  • 683
  • 2
  • 8
  • 19
0
votes
1 answer

UISearchDisplayController with UISearchBar in UIPopover dismiss keyboard issue

I have a UIPopoverController with UITableViewController in it. Also, I am using UISearchDisplayController with it. My class interface is like this: @interface SearchController : UITableViewController
0
votes
1 answer

Search Files/Folder inside files of google drive of xcode

I am trying to make google drive file managing app in iOS. I am stuck because I want to search all files using any keyword and it should be display files and folder.Get all files and folder using this code.But if you search somthing, search only…
0
votes
2 answers

searchdisplaycontroller: change the text of the searchbar

SHORT DESCRIPTION OF PROBLEM: I want to set the text of a searchbar without automatically triggering the search display controller that is bound to it. LONG DESCRIPTION OF PROBLEM: I have an iphone application with a search bar and a search display…
0
votes
1 answer

UISearchDisplayController TableView goes black after erasing text

I have a UISearchDisplayController that goes black after erasing search-text. These pictures explain my issue: Add an a to the searchbar Removes the a from the searchbar I tried these settings in ViewDidLoad, but it's not…
Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109
0
votes
0 answers

Can't search files inside files from Dropbox

I am trying to search any files using search display controller. But file inside files are not displaying in tableview. That means subfolder/files are not retrieved. For getting file and folder I am using this code. I don't understand why subfiles…
Priya
  • 61
  • 4
  • 12
0
votes
1 answer

Do not show searchResultsTableView before search button clicked

I'm trying to solve this problem with no luck. I have a search bar and search a display controller inside table view controller. Everything works fine - I make the server call to search the endpoint when user clicks the "Search" button and display…
Kosmetika
  • 20,774
  • 37
  • 108
  • 172
0
votes
1 answer

How UISearchDisplayController steals UISearchBar events

I wanted to implement a UISearchDisplayController like controller to display search results, and added some log to figure out the logic. After I saw the logs, I am very curious about how the UISearchDisplayController steals the UISearchBar…
0
votes
1 answer

Search in uisearchbar from different view/class

I can search with UISearchbar if UISearchbar and searchDisplayController is in the same view. - (BOOL)searchDisplayController:(UISearchDisplayController *)controller shouldReloadTableForSearchString:(NSString *)searchString Now, I have UISearchbar…