uisearchbardelegate Questions
11
Solved
I try to make my searchbar on swift, but I have a problem to dismiss keyboard on screen when I pressed out of searchbar. When I try with textfield, it works perfectly fine with this code.
override ...
Ehrenberg asked 28/4, 2015 at 16:51
5
Solved
I am working on an new App using UITableView and a UISearchBar in Swift and it's already working fine. But since the final project must have a complete customized searchbar, I had to move to UIText...
Valeda asked 19/10, 2014 at 1:35
7
Solved
I am using UISearchBar in my code. I have imported its delegate in header file and implemented some delegate methods in implementation file also.
When we tap on the UISearchBar, a keyboard will ap...
Puglia asked 15/3, 2012 at 14:21
2
Solved
I want to show no scope bar when the table is empty (before the search bar edits for the first time), no scope bar when it's editing, and finally show it when editing done. I know about the UISearc...
Schoen asked 16/6, 2010 at 23:56
10
UIViewController to implement a view to placing an UITableView UISearchBar and being implemented. But you can not call searchBarCancelButtonClicked. Do not know what the reason.
Backlog asked 6/12, 2010 at 16:21
3
I have a simple view controller with a uisearchbar and a uitable.
My problem is that when search bar is tapped I see delegate function searchBarShouldBeginEditing being called but not searchBarTex...
Burdensome asked 4/11, 2011 at 9:55
1
So I have a standard setup for setting up a search view in my tvOS app.
let storyboard = UIStoryboard(name: "Main", bundle: nil)
guard let resultsController = storyboard.instantiateViewControllerW...
Dupont asked 16/8, 2016 at 16:28
12
Solved
I have a UISearchBar which acts as a live filter for a table view. When the keyboard is dismissed via endEditing:, the query text and the gray circular "clear" button remain. From here, if I tap th...
Hyperbaton asked 7/7, 2009 at 13:6
2
When I add my searchBar as a headerView of tableView, all the delegate methods are fired as expected.
self.myTableView.tableHeaderView = self.searchController.searchBar;
But if I take a searchB...
Roxi asked 29/9, 2016 at 10:59
6
Solved
I am hoping this is an easy question.
I have a search bar that shows a cancel button:
- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar{
[searchBar setShowsCancelButton:YES animat...
Cowled asked 21/10, 2013 at 17:34
4
Solved
On the UISearchBar, there's an X element that allows you to clear all of the contents at once. Is there a way to get notified when this happens?
UISearchBarDelegate::searchBarCancelButtonClicked i...
Latricialatrina asked 8/11, 2010 at 1:7
1
Solved
I've dug around stackoverflow and found the solution which I converted to Swift, it doesn't seem to work and the selector is still being performed.
func searchBar(searchBar: UISearchBar, textDidC...
Membrane asked 21/4, 2015 at 3:46
2
We have a search bar in the table header. When the user taps on it twice quickly on iOS 7, it disappears. Does anyone have any suggestions what we are doing wrong?
Shang asked 7/10, 2013 at 19:9
1
Ok, I'm pulling my hair out over this. I'm almost certain I had this working at one point too, and now it isn't working.
I have a UISearchBar embedded in a table view cell. I have the search bar d...
Nectareous asked 14/11, 2013 at 2:36
2
Solved
I'm making an UISearchBar option in the navigationbar of my app.
My app consists of multiple views and subviews.
I have this mainview which has 3 other views on himself. one of it is empty (for now...
Heterodoxy asked 20/9, 2011 at 8:34
4
I have a UIViewController that is a UISearchBarDelegate and a MKMapViewDelegate. The searchBarSearchButtonClicked event works fine, but when testing in iOS 4.2 the searchBarCancelButtonClicked neve...
Maw asked 14/5, 2011 at 19:58
1
Solved
I am very new to iOS development, very excited though.
I have built an app the uses storyboards and populates a UITableView with the contents of a plist file. I managed to get everything running ...
Madid asked 27/3, 2012 at 20:27
1
Solved
I am trying to accomplish this:
Consider a table view with Search Bar on its header.Table view gets
refreshed whenever string is searched.
I am having 2 classes
TableViewController(UIViewCo...
Build asked 12/3, 2012 at 19:11
4
Solved
Is there a way to update a UITableView sections and rows after changing the fetchedResultsControllers NSpredicate (and executing the fetch)? I would like to use controllerWillChangeContent delegate...
Progeny asked 1/1, 2011 at 14:12
1
© 2022 - 2025 — McMap. All rights reserved.