Questions tagged [uisearchbardisplaycontrol]
71 questions
0
votes
1 answer
UISearchController created for iOS 8 not supporting for previous versions
Hi I had created an UISearchController to search a tableview in my app, as I came to know that UISearchDisplay Controller methods are being deprecated for iOS 8, now everything works fine in the 8.1 simulator, when I was trying to run my App in iPad…

Mohanraj
- 587
- 4
- 21
0
votes
1 answer
Use a predicate to search a NSMutableArray of Objects
I have a collection of contacts I would like to filter: var arraycontacts: NSMutableArray = []
arraycontacts contains a large list of FriendModel Objects:
var friend = FriendModel(
name: self.contactName(contact),
phone:…

JZ.
- 21,147
- 32
- 115
- 192
0
votes
0 answers
Tableview shows nothing when typing into searchbar
I have created a app that fetches information from a blog. I am able to successfully fetch the information and show it in the tableview. Then i created a search bar and a search display controller so that i could search through the information. When…

Dinesh Sekar
- 91
- 1
- 1
- 8
0
votes
1 answer
resize uisearchdisplaycontroller width when click cancel button
I want to change width of uisearchDisplaycontroller when click cancel. i add my code for reference...
mySearchBar = [[UISearchBar alloc]init];
[mySearchBar setDelegate:self];
resName_search = [[UISearchDisplayController alloc]…

Mohamed Jaleel Nazir
- 5,776
- 3
- 34
- 48
0
votes
0 answers
Add Cell to UISearchDisplayController 's tableview
I have tableview with searchDisplayController. When I search for some text I successfully display the results on screen. My problem arises when I want to add a cell to existing results. Adding a cell must be done when searchDisplayController is…

Jeyhun Karimov
- 1,295
- 19
- 27
0
votes
1 answer
Setting UISearch in navigation bar in ios7
I'm having a search bar in my navigation bar using
[self.searchDisplayController setDisplaysSearchBarInNavigationBar:YES];
It displays a search results view when the search bar is tapped but there is no cancel button in the search results view.Can…

user3594778
- 47
- 6
0
votes
0 answers
Why combined search bar and scope bar don't align correctly?
First of all, quote form iOS User Interface Guidelines
When a search bar is present, a scope bar can appear near it. The scope bar displays below the search bar, regardless of orientation, unless you use a search display controller in your code…

David Liu
- 16,374
- 12
- 37
- 38
0
votes
1 answer
UISearchBar in Xcode 5
I implemented the UISearchBar option in my Json data table. However, whenever I am trying to search it, the program crashes. Highly appreciate help on this.
my table view controller's header and implementation files are given below
Header file.…

Asif Anwar
- 3
- 2
0
votes
1 answer
UISearchBar displaysSearchBarInNavigationBar
I want to replicate the functionality of the Twitter app where the search bar slides in to the navigation bar.
However I have run into a problem. If I don't add
[self.searchDisplayController setDisplaysSearchBarInNavigationBar:YES];
into…

Jonathan Ogle-Barrington
- 814
- 2
- 11
- 29
0
votes
1 answer
UISearchBar and TableViewController
I had a TableView which worked perfectly.
Now I have included a search in TableView with the SearchBar component and Display ViewController.
I want the search to be made based on the label that is populated by NSArray _rotulos.
@property (nonatomic,…

Diego Rodrigues
- 73
- 7
0
votes
0 answers
How can I access the SearchBar result cells directly
I have a tableview with a SearchBar and delegate methods for it. I need to be able to display results from a SQL query obtained after using the search word into the search results as opposed to searching the tableview itself.
Getting the SQL query…

FlashSolutions
- 85
- 1
- 10
0
votes
1 answer
UISearchDisplayController the results are delayed by 3-6secs
When I type letters into my Search I get lag for about 4secs and can`t do anything. Everything others work good. UISearchDisplayController find me what I want, segue works good . I am not sure if it is about memory or some mistake in my code. Can…

Milan1111
- 185
- 3
- 13
0
votes
1 answer
Can not display target scene after click on row of SearchResultTableView in my navigation controller
I want to filter a list of entries via UISearchBar and show the details after user clicks a result row. Full list view and details view are linked via a navigation controller. The normal use case (without search) works like charm:
…

DerWOK
- 1,061
- 9
- 13
0
votes
2 answers
Search Results TableView's position doesn't work properly
When I start to type in the searchbar my search results tableview goes 20 px top of the searchbar. Where can I set the frame's position fixed in my code? In viewdidload or…

user3065761
- 65
- 1
- 10
0
votes
3 answers
How to trigger a searchDisplayController by a button?
I was wondering is there any way to implement such UI features.
As we know when we dragged in a search bar and searchDisplay control in xcode 5, we are be given a set of search controls including a search bar and a searchDisplayController.
Instead…

TypingPanda
- 1,607
- 3
- 19
- 32