Questions tagged [uisearchbardisplaycontrol]
71 questions
1
vote
0 answers
UISearchBar issue with UIsearchBarBackground
I have strange issue with UISearchBar when I click on the textBox it gets animated and displayed incorrect. SearchBar is shifted down for 20px. I found that gray background is UISearchBarBackground.
I tried different approaches to remove it, but…

Madman
- 3,171
- 2
- 32
- 44
1
vote
0 answers
Prevent UISearchDisplayController from hiding under the navigation bar on iPad
I have a tableview with view with search bar on top of the screen below navigation bar. There is also tab bar on this screen. When search controller is activated first, time search bar hides under navigation bar (Translucent set to NO).
In…

B1z
- 13
- 4
1
vote
2 answers
Search Display Controller display additional tableView
Why another table view displayed after I inserted some word inside the search bar?
Before writing in search box
After writing in search box
Here is the code I am using:
- (UITableViewCell *)tableView:(UITableView *)tableView…

user3322987
- 63
- 8
1
vote
1 answer
button tag issue with UISearchBar
I need to set a tag for the button created on the table view cell.
I implemented the UISearchBar and it works well.
Issue is after filtering the tableView cell, its indexpath.row changes as I am setting
'button.tag = indexPath.row'.
Is there a…

Techno crat
- 11
- 2
1
vote
4 answers
IOS7 : uisearchdisplaycontroller always show scope bar
Basically what I'm trying to achieve is to have my scope bar to never disappear.
Environment : IOS 7, storyboard, inside a view controller I have a "search bar and search display controller" and a separate tableview (the searchbar is not inside the…

Yves Van Grembergen
- 23
- 1
- 8
1
vote
1 answer
iOS 7 UISearchDisplayController not cleaning background when search data
I'm upgrading my Apps to iOS 7. Actually I have a big issue with UISearchDisplayController.
If i display it into a PopUp until I don't start a Search it works fine, but when I insert something into the SearchBar the search works fine, but I see the…

Roberto Scarciello
- 169
- 1
- 9
1
vote
1 answer
How to animate a UISearchBar sliding in and out of the view without a UISearchDisplayController?
I have a view that has a button which toggles a UISearchBar using
searchBar.hidden = !searchBar.hidden;
The searchbar goes out and queries a web service to get results and then displays them to the user without ever using a UITableView or a local…

DevDevDev
- 5,107
- 7
- 55
- 87
0
votes
2 answers
How to hide the UISearchDisplayController's search bar
I'm using a UISearchDisplayController.
When a user select a row in the table, I want to hide the search bar.
Here's my try:
- (void)displaySearchBar:(BOOL)show {
[UIView animateWithDuration:0.15
delay:0
…

MBonevil
- 69
- 1
- 4
0
votes
1 answer
Does UISearchBar works with UITextView?
I have been looking for a tutorial that integrates UISearchBar and UITextView and nothing is available. This makes me wonder, is this possible? I have wrote the following code:
- (IBAction)fileAction:(id)sender {
NSString *filePath = [[NSBundle…

ibjazz
- 263
- 5
- 17
0
votes
1 answer
How can I filter out contents via UISearchBar text?
I have a search with this code
extension PlacesVC : UISearchBarDelegate {
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
places = places.filter("name CONTAINS[cd] %@", searchBar.text)
table.reloadData()
}
…

code-8
- 54,650
- 106
- 352
- 604
0
votes
1 answer
iOS: UISearchBar with UISearchdisplaycontroller crashed by clicking on searchbar
I have implemented UISearchBar with UISearchdisplaycontroller in tableview controller but i getting the following issue in clicking on search bar:
Assertion failure in -[UISearchResultsTableView
dequeueReusableCellWithIdentifier:forIndexPath:],
…

Muhammad Umair
- 583
- 11
- 32
0
votes
0 answers
Storyboard - insert a Searchbar and linked it to the containerview (tableviewcontroller)
I had a tableviewcontroller with a SearchController I managed programmatically. For some reasons, I need to have a storyboard to display things a bit differently not anymore a tabéeview in full screen.
Everything is going fine with a container view…

Trichophyton
- 625
- 5
- 21
0
votes
1 answer
trying to implement the uisearchcontroller but its not giving any search result
import UIKit
class MasterTableViewController: UITableViewController, PFLogInViewControllerDelegate, PFSignUpViewControllerDelegate, UISearchBarDelegate, UISearchResultsUpdating {
//approches for uisearchbar
var searchNotes: [PFObject] =…
user5625828
0
votes
2 answers
Search result doesn't show cells in tableView
The tableView doesn't show the cells with results from my search. The search is working fine, I verified all the data, but when I assign the cell.localName?.text to the value, it's always nil. Not sure what is wrong. I've found another post with…

Constantin Suiu
- 214
- 2
- 12
0
votes
0 answers
UISearchBar displaying data UITableView
I'm trying understand searchbar I have an api And when I send the api 'where' its giving me some data.
But when I tap the return key.I get nothing.
there is my code.
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar
{
…

Murat Kaya
- 1,281
- 3
- 28
- 52