Questions tagged [searchdisplaycontroller]

41 questions
2
votes
3 answers

prepareForSegue after UISearchDisplayController

EDIT: I just found: How to segue from a UISearchBarDisplayController result to a detailViewController which I'll take a look at! I'm combining a 'search bar and search display controller' with core data fetchedResultsController using storyboard.…
1
vote
1 answer
1
vote
2 answers

Dismiss Popover from SearchDisplayController

I programmed a SearchBar but no ot in the interface builder b< dragging the search to the tableView. The SearchResult was shown in an other TabelView. The search works great. But every time I search it shows me this SearchResult Popover. Can I…
1
vote
1 answer

How to create an ivar for searchDisplayController

following this question, how would I create an "ivar" as mentioned? Ran into this same issue and I'm trying to work around it so apple will approve my latest update
Toran Billups
  • 27,111
  • 40
  • 155
  • 268
1
vote
1 answer

searchResultsTableView takes entire screen on ipad

I am working on a app for the iPad which has a tableView on the left and a view on the right. We are not using the UISplitViewController. I have been able to setup filtered results using the Search Display Controller and a search bar, but the search…
Miriam H.
  • 671
  • 2
  • 8
  • 25
1
vote
1 answer

Q: Search Bar and Search Display Controller in storyboard with swift and Xcode8.0 crash at Appdelegate

Storyboard layout is below: This is my demo, and I don't know where the error comes out. In ViewController: import UIKit import Foundation class ViewController: UIViewController { @IBOutlet weak var tableView: UITableView! @IBOutlet var…
aircraft
  • 25,146
  • 28
  • 91
  • 166
1
vote
1 answer

iphone - Search bar disappears from my root view controller

I have a search bar in my main screen - root table view controller. If I browse other screens and come back, sometimes, the search bar disappears. Here's my code. searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0,…
Sudharsanan
  • 567
  • 2
  • 6
  • 11
1
vote
1 answer

uiviewcontroller with navigation bar does not display searchBar in navigation bar

I have a UIViewController with NavigationBar. I'm trying to place a searchBar in it with the following code: self.searchDisplayController.displaysSearchBarInNavigationBar=YES; The code has worked on my previous UIViewController, the difference is…
1
vote
1 answer

SearchDisplayController & Coredata Search locks the application while loading, what can i do?

I am building an application with coredata. Its nearly finished but i have a problem. I want to put a search section on my application. I did it now and it is working, but there is something weird and i could not solve. When clicked on the search…
cenk ebret
  • 687
  • 4
  • 15
1
vote
0 answers

did anybody use three20 with tttableview and searchdisplay?

in three20 TTCatalog has this demo:SearchTestController i don't know why use TTListDataSource would auto reload data?? i try to copycat but i fail... i use TTListDataSource ,and like this (its the subclass of TTTableViewController) [super…
kimsnow
  • 11
  • 3
0
votes
2 answers

searchDisplayController description is null?

The main controller is a tabBarController; one of the tabs is navigationController, then in that navigationController is a UItableView with searchDisplayController. SearchBar is in UItableView. However, I dont' know what I have changed (I…
Ian
  • 501
  • 2
  • 10
  • 20
0
votes
2 answers

iOS 11 SearchDisplayController shows black status bar

I know SearchDisplayController is deprecated, but Storyboard still supports it, and it is an easy way to present tableViewController on top of your view controller. I have been using it, and I would still prefer to use that. And in iOS 11, when I…
coolcool1994
  • 3,704
  • 4
  • 39
  • 43
0
votes
1 answer

ios/objective-c: Search Display Controller combined with custom cell

I am using a search bar and search display controller that utilizes an NSPrediate to search a tableview created from core data. The following code works fine for most of my VCs. However, for one where I use a custom cell, whenever I search, I get…
user1904273
  • 4,562
  • 11
  • 45
  • 96
0
votes
1 answer

Three20 Search Scope

I'm using Three20 and I've got the standard search mechanism working. TTTableViewController* searchController = [[[TTTableViewController alloc] init] autorelease]; searchController.dataSource = [[[MyDataSource alloc] init]…
Ward
  • 3,318
  • 3
  • 30
  • 50
0
votes
1 answer

set location of uisearchbar in uiviewcontroller

I'm trying to add a searchbar to my viewcontroller. There are many tutorials with tableviewcontrollers, but not viewcontrollers. My problem is (like multiple other questions here) when selecting the searchbar the navbar moves up and searchtableview…
Ryasoh
  • 173
  • 1
  • 1
  • 10