3,692 questions
0 votes
1 answer
120 views
How can I change backgroundColor of searchBar inside a navigationItem?
In iOS 26 navigationItem.searchController.searchBar.searchTextFIeld.backgroundColor is only affected if navigationItem.hidesSearchBarWhenScrolling is set to false (which is not what I want). However, ...
0 votes
0 answers
41 views
Priority of Cancel button in UISearchBar
To make "Cancel" button has bigger font on enlarged fonts (Setting->Accessibility) I modify UISearchBar In general solution works like: func searchBarTextDidBeginEditing(_ searchBar: ...
0 votes
0 answers
70 views
searchController.searchBar fades when popping back after push to other viewcontroller
I’m trying to display a search bar directly inside the navigation bar (not below it), so it stays visible all the time — similar to Telegram’s design. When I assign the search bar to the navigation ...
0 votes
0 answers
40 views
Custom UISearchController transition
I have an app which has a search bar that appears in the navigation bar and my set up is a hybrid of SwiftUI and UIKit. I don't think this has bearing on the question at hand but here is my set up: I ...
0 votes
0 answers
41 views
Presenting search controller from bar button hides elements in screen
I have an app which has a search bar that appears in the navigation bar and my set up is a hybrid of SwiftUI and UIKit. I don't think this has bearing on the question at hand but here is my set up: I ...
0 votes
1 answer
44 views
How Can I Customize the Background Color and Other Properties of UITextField Inside a UISearchBar?
I’m trying to customize the appearance of a UITextField inside a UISearchBar. Specifically, I want to change the background color and other style properties. I am using the following code to make some ...
-2 votes
2 answers
73 views
Boundary Problem: Thin Line / Seperator Between Navigation Bar & Search Bar in iOS Swift
an image is worth a thousand word, please see the attached image. This is a mobile app that I am developing. There is visually that thin line between the navigation bar and search bar, but I have ...
1 vote
1 answer
73 views
How can I implement the iPhone Safari search bar at the bottom UI (floating action) in Flutter?
[enter image description here](https://i.sstatic.net/tCkIRzOy.png) I like how the search bar on my iPhone's safari is below and the box gets bigger and smaller in real time when I scroll, so it doesn'...
0 votes
2 answers
838 views
Why is KeyboardLayoutGuide not applied in viewIsAppearing() in iOS 15.0?
Since viewIsAppearing() appeared, I am using addSubview() in viewDidLoad() and applying Constraint in viewIsAppearing(). I placed the SearchBar at the bottom of the screen, and used ...
0 votes
0 answers
60 views
View controller property layout top of each other
I have two view controller . In first view controller I have table view with cell and search bar on top . The second view controller I have back button to go back to first view controller. The problem ...
0 votes
0 answers
48 views
SeachBar functionality is not working with UISearchController
I have created the search bar programatically and I am expecting to filter the data when the text is enter into search bar. Problem is not filtering the data although I have data already downloaded ...
0 votes
1 answer
54 views
Search functionality is not working in table view
I have created a search bar programmatically and I also defined the search function as well. But the problem is when I enter the text into the search bar, it is not filtering the data. I have set the ...
2 votes
1 answer
718 views
With UISearchBar, will the microphone icon on the right "ever" become visible, and if so when?
Add a UISearchBar to your storyboard. Note that this QA is only about UISearchBar and is not about UISearchController. Confusingly there's a voice/mic icon on the right: As far as I can tell, this ...
1 vote
1 answer
128 views
TableView stops getting filtered by search bar after updating data
I'm trying to create a search bar with a listener to perform real-time searching and filtering of data in javafx. The dataSearch method should be triggered when I click the execute button that starts ...
1 vote
0 answers
36 views
php search bar for file system doesnt work for subfolder.php but it does work for the main folder
so i made this file system for my website. in the folder.php file theres a working search bar while the one inside my subfolder.php file for some reason doesnt work and idk how to fix it. if i put a ...