uisearchcontroller Questions
2
I have a UISearchController with searchBar assigned to my view controller's navigation item. All works fine in iOS 13.3. However, in iOS 12.4, the searchBar is missing and appears not have been add...
Jardena asked 23/1, 2020 at 18:45
5
I have a SearchController that conforms to UIViewControllerRepresentable, and I've implemented the required protocol methods. But when I created an instance of the SearchController in a SwiftUI str...
Bluster asked 9/12, 2019 at 6:26
4
I’m attaching a UISearchController to the navigationItem.searchController on iOS 13. This works fine: I can use the nice iOS 13-style search bar.
However, I’d like see the large titles and searchB...
Troostite asked 6/11, 2019 at 9:43
4
I have a UITableView with a UISearchController search bar in the UINavigationBar, all works perfectly, but when I push a result of the searched results of the UISearchController, and I come back th...
Ishtar asked 8/10, 2015 at 9:15
11
Solved
How we can change the title of cancel button in search controller?
Loquat asked 21/2, 2015 at 6:16
4
I am using UISearchController with UITableView, and using same table view on my base view controller to display the search results (doing with not specifying a seperate search results controller as...
Roadster asked 18/6, 2016 at 13:51
5
I want to add a "filter" or "sort" button next to the searchBar inside a UISearchController. I have already tried to add the UIButton and the searchbar into a UIView and set this as my UITableView ...
Dowlen asked 27/1, 2016 at 12:35
3
In viewDidLoad of my custom subclass of UITableViewController, I've set navigationItem.titleView to the searchBar of a UISearchController, which I initialized with nil for searchResultsController.
...
Formulate asked 31/12, 2016 at 1:49
1
In iOS 11 Apple presented new search bar, but yet in iOS 11.2.2 developer have push\pop animation bug when both view controllers have searchController.
Apple demonstrate their vision in Files app.
...
Mercie asked 16/1, 2018 at 9:39
15
Solved
I am using UISearchController to present a search bar inside the header view of a tableview:
...
self.searchController.hidesNavigationBarDuringPresentation = NO;
self.presentingTVC.tableView.tabl...
Microphotograph asked 4/2, 2015 at 16:20
2
Solved
Setup
A simple view controller with a UISearchController set in the navigation item to use iOS 11's search functionality in the search bar.
Any view with it's top constrained to the SafeArea.Top
...
Fluoroscopy asked 15/8, 2018 at 14:13
2
While i was updating my project to iOS 13 i faced with unusual issue.
I have logic for showing and handling some UISearchController actions (code below), all parts were working perfectly in iOS 11 ...
Masoretic asked 24/9, 2019 at 12:55
3
Solved
According to crashlytics the following crash is occurring (rarely).
Application tried to present modal view controller on itself.
Presenting controller is .
I can't replicate this issue at a...
Temperamental asked 24/10, 2017 at 18:47
6
Solved
I'm trying to hide the Cancel button of the search bar in the UISearchController, but unfortunately setting the following in viewDidLoad() does not work:
override func viewDidLoad() {
super.viewD...
Boaz asked 20/10, 2015 at 2:52
3
Solved
There are 2 unanswered posts already on this topic here and here, where no one provided a working solution to this problem.
First image shows iOS 10 behaviour of search controller, where you can ...
Bilk asked 26/9, 2017 at 7:24
3
Solved
I am facing issue with navigation bar. I'm adding searchController in navigationItem's search controller.
See the images on following link:
navigation bar issue
Steps:
1) I have data in table v...
Rambort asked 18/7, 2018 at 12:54
4
I got a navigation bar containing some UIBarButtonItem buttons and a UISearchBar hooked up like this
var searchController: UISearchController!
override func viewDidLoad() {
super.viewDidLoad()
...
Cavallaro asked 27/9, 2019 at 12:32
1
I am using a UISearchController inside a Container view in a UITableView. I am adding the search bar like this:
self.resultsTableController = [self.storyboard instantiateViewControllerWithIdentifi...
Debrahdebrecen asked 31/3, 2015 at 20:9
1
Solved
I have tested this on a sample project with 2 view controllers defined in the storyboard using Xcode 11 (iOS 13). The "presenting" view controller is embedded in a navigation controller and has the...
Pandanus asked 22/10, 2019 at 1:10
0
I have a standard UISearchController with a standard UISearchBar. The search bar is shown in the navigation bar. Everything works as expected on iOS/iPadOS. But the search bar behaves differently u...
Numbskull asked 19/10, 2019 at 21:40
3
In our app we have a UITableViewController that has a UISearchController:
searchController = [[UISearchController alloc] initWithSearchResultsController:nil];
self.searchController.searchResultsUp...
Scarify asked 25/4, 2016 at 7:50
3
Solved
I know how to set the appearance for a independent UISearchBar, just like the following.
let searchField = searchBar.value(forKey: "searchField") as? UITextField
if let field = searchField {
f...
Wellhead asked 15/3, 2018 at 5:47
7
Solved
I have UICollectionView. On clicking search button in UINavigationBar, I am adding the UISearchController's searchbar as titleview for UINavigationItem. For iPhone it is working properly. For iPad ...
Led asked 27/5, 2015 at 6:15
1
I'm using a UISearchController for search in a UITableViewController that also supports pull-to-refresh via UIRefreshControl.
The setup is very simple in a reduced Demo project
override func view...
Skewback asked 11/9, 2019 at 11:35
2
In iOS 9 I am using UISearchController and displaying its search bar within a UIViewController, I am experiencing a lot of lag the first time I click on the search bar and have tried everything i c...
Leucopoiesis asked 18/12, 2015 at 1:8
© 2022 - 2024 — McMap. All rights reserved.