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

Moving from a TableViewController with a SearchBar to a UISearchDisplayController

I'm looking for an answer and while I've read a lot of articles, I've not seen the obvious answers that I require. I currently have a UITableViewController with an embedded SearchBar. The reason I need to move, or potentially move to a…
amitsbajaj
  • 1,304
  • 1
  • 24
  • 59
0
votes
1 answer

UISearchbar (tableHeaderView) issue when scrolling the uitableview on ios7

I have searchDisplayController,which is table headerView of my tableView.My tableview scrolling works smooth and perfect and tableview consist of 3 rows.My issue is my tableView scrolls to top,then bounce back at that time my…
IKKA
  • 6,297
  • 7
  • 50
  • 88
0
votes
1 answer

Main UITableVew is visible in searchResultsTableView status bar

I have two UITableViews in my app (one for regular usage and another for searching). When I use regular one the status bar is opaque but when I enter searchResultsTableView I can see some items from regular UITableView. As you can see the…
cojoj
  • 6,405
  • 4
  • 30
  • 52
0
votes
2 answers

UISearchbar Parse API

I have a well-functioning search bar. Only one thing that I want to improve is NSTimer. I don`t know why, but when I start typing, it search me results after some delay.It woks perfectly. But I get for every typed letter 1 API each. It mean that if…
0
votes
1 answer

Why does the UISearchDisplayController sometimes work, sometimes not?

I have an UISearchBar and UISearchDisplayController implemented correctly to filter the cells in a UITableView. Sometimes it works fine and filters the cells according to the entered search term. But sometimes - without changing a line of code - it…
Manuel
  • 14,274
  • 6
  • 57
  • 130
0
votes
2 answers

UISearchBar in two view controllers

I've done some searching that hasn't helped me find the answer I am looking for. My app has a UITabBarController which allows the user to switch between screens. There are two screens Tab1: viewController A - which is a subclass of…
Robert J. Clegg
  • 7,231
  • 9
  • 47
  • 99
0
votes
1 answer

UISearch bar in two NSMutables arrays

I see item UISearchBar search two arrays and very much items and not found solution, the problem its similar, have two NSMutablesArrays "subdetail" and "sublista" its show in Cell cell.textLabel and cell.detailTextLabel. I try UISearchbar but i…
0
votes
1 answer

UISearchDisplayController Remove Gray-Out/Grey-Out [iOS7]

I've tried playing around with this a bit but have been unable to get what I want. I found a question online too without an answer asking the exact same question. When search bar is enabled UISearchDisplayController greys out everything under the…
Mou某
  • 556
  • 3
  • 10
  • 32
0
votes
1 answer

search character sequence with UISearchBar

I have a searchBar and a searchController in my project. I want to be able to search for a specific sequence of letters and possibly skipping a character or two if possible. For example if I search for "iPhone" or "i-phone" or "i phone" or "piphone"…
snksnk
  • 1,566
  • 4
  • 21
  • 46
0
votes
1 answer

Permanently Hide UISearchDisplayController

I'm trying to hide the searchDisplay controller attached to a UITableView in an iOS 7 Table View Controller. I don't want to temporarily scroll it off the top; I want it to be completely disabled. In my table view controller code (which, FWIW is…
0
votes
0 answers

Is there any way to fix the position of a UISearchBar + UISearchDisplayController?

I have a ViewController nested inside a PageViewController which is also nested inside a NavigationViewController. The thing is I have put a UISearchBar and UISearchDisplayController item on the center of my ViewController and for some reason, when…
NickJaremek
  • 245
  • 3
  • 10
0
votes
0 answers

Empty cells on SearchDisplayController

I am trying to implement a SearchDisplayController to a tableView. When I create my tableview everything it is ok. I have got a UiViewController with Delegate of UitableViewController. This is my .h #import #import…
0
votes
1 answer

UISearchBar disappears when I tap second time

I have app with UIViewController which contains UISegmentView, UISearchDisplayController and UITableView like at picture: When I tap into search bar, everything is fine. Keyboard appears and I can do my search activity. But after I tap into search…
0
votes
1 answer

UISearchBar is resizing after dismissal

I have a tableviewcontroller with a button, textfield, and a search bar display controller in the header view of the tableview. When I click on the searchbar, then on either cancel or the background tableview(to dismiss it), the search bar will…
0
votes
2 answers

iOS 7 - Show Count of Searchresult in SearchBar

I'm searching for a way to add a UILabel to an UISearchBar in Front of the Searchfield. I tried to add a UILabel like that: - (void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller { …
blub
  • 359
  • 6
  • 23