Questions tagged [uisearchbardisplaycontrol]
71 questions
0
votes
2 answers
SearchBarDisplay filtering, but not displaying the correct data
I'm trying to implement a search on my table view. I populate an NSMutableArray called myArray from Core Data; then I populate my table view with myArray
Then, I have an NSMutableArray called mySearchArray. I use this array to display the search…

Cody Winton
- 2,989
- 5
- 25
- 48
0
votes
2 answers
search bar does not return any results
i am trying to add search function in my app using NSpredicate. i have tried to get this to work and can't seem to see where the issue is. i recreated a demo app to show what i have done. everything shows up on simulator without any warnings, but…

Adrian P
- 6,479
- 4
- 38
- 55
0
votes
1 answer
Search Bar and Search Display, unrecognized selector sent to instance
I have a problem with a searchBar, i get an error unrecognized selector.
2013-02-11 14:48:27.211 Scores (FREE)[13946:c07] test ijsid
CONTAINS[cd] "A" 2013-02-11 14:48:27.213 Scores (FREE)[13946:c07] test
(
Axel,
"Double Axel",
…

Fabrice
- 103
- 7
0
votes
1 answer
How to Fetch the Urdu language Words from plist?
I have a plist which contain urdu language Words and also have English language words.as below screenshot
Now my Code is to fetch data is given Below
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[words…

jamil
- 2,419
- 3
- 37
- 64
0
votes
2 answers
Searchbar controller with UITableview
I am using a searchbar controller with UITableview.The search results are coming properly.I have set the row height,separator style to none and backgroundColor clearColor and tranparent.But the issue is the result table view does not have all these…

priyanka vijesh
- 227
- 1
- 3
- 7
0
votes
1 answer
Why doesn't my UISearchDisplayController use my custom tableViewCell?
I have an iPad app using a split-view controller. Within the master view, I have a list of items displayed using a custom table cell defined in the storyboard.
The cells display as expected complete with the dark background I selected in Xcode.
I…

Thompsonian
- 407
- 5
- 23
0
votes
2 answers
UISearchBarDisplayController doesn't show me keyboard
I have make like text field search.
In which i have first create text field and also add new UISearchViewController
Now i have set
- (void)textFieldDidBeginEditing:(UITextField *)textField
{
[textField resignFirstResponder];
…

Hiren
- 12,720
- 7
- 52
- 72
-1
votes
1 answer
Q:Value of type '[String]' has no member 'filtered'
In my Code when I implementation my func :filterContentForSearchText(searchText:String, scope:String)
error comes:
let resultPredicate:NSPredicate = NSPredicate.init(format: "name contains[c] \(searchText)", searchText)
resultDataSource =…

aircraft
- 25,146
- 28
- 91
- 166
-1
votes
1 answer
How to change searchbar padding in swift
I want to change my search bar padding with the text inside it. Is there any way to make it and could you give me a reference ? I want to make my text not too close with top and bottom search bar frame. I think i should say it a padding. Any…

aji
- 651
- 1
- 5
- 10
-2
votes
1 answer
when i enter first character in search bar my app crashes
I have parsed JSON in tableview and I want to implement search bar to filter huge data. I have tried implementing search bar from here.
but it crashes.
-(void)parsingmethod{
NSString *string = [NSString stringWithFormat:@"HEREISMYJSONURL"];
…

ayush
- 27
- 1
- 6
-2
votes
3 answers
UIView frame sent to deallocated instance
I am currently working on an application that has some ViewController with a button on it that pushes to a UITableViewController with Search Bar and Search Display controller. I have some data in the cells and that gets populated. I have added the…

Chris
- 1,004
- 2
- 11
- 25