uisearchcontroller Questions

4

I am creating a table view and a search bar by clicking on a button.But I need the search bar to appear at Auto Focus ( where the user enters text immediately with no need to click inside the searc...
Disallow asked 3/8, 2015 at 11:28

4

Solved

In my project I'm using a UITableViewController with an internal UISearchController to filter the data in my tableView. I have no problem to filter the data but I need to make a date of my tableV...
Rolfston asked 16/10, 2014 at 8:55

6

Solved

I’m attaching a UISearchController to the navigationItem.searchController property of a UITableViewController on iOS 11. This works fine: I can use the nice iOS 11-style search bar. However, I’d l...
Joleen asked 15/9, 2017 at 12:42

4

I've a UISearchBaradded to the top of an UITableView. // init search bar self.resultSearchController = ({ let controller = UISearchController(searchResultsController: nil) controller.searchRes...
Astaire asked 1/2, 2016 at 17:7

5

Solved

I am using UISearchController not UISearchDisplayController, and I want to show SearchResultController on SearchBar Tap right away. Right now it's showing like this (when I tap on the search bar): ...
Latinize asked 22/3, 2015 at 16:17

2

I am trying to use UIRefreshControl on a table view together with the new searchController API on navigationItem. Now when I set hidesSearchBarWhenScrolling the "pull down to refresh" animation is ...
Serviceman asked 10/11, 2017 at 14:31

6

Solved

I'm trying to create a search bar like this: But I'm noticing that I'm probably going to have to replace the search bar with my own image because the search bar corners comes out wrong when I se...
Hylomorphism asked 20/7, 2015 at 16:4

2

I have an existing app, written in objective-c, with a table view. I am now trying to go back to this app and add a search bar to the table. The problem is that now there is the new UISearchContr...
Weaverbird asked 23/8, 2015 at 18:5

1

Solved

On iPad with iOS 16 searchController displaying on the right side. Like this: How can I return the searchController's "default" view? Like this:
Retake asked 19/9, 2022 at 16:42

2

Solved

i have embedded SearchController in navigation bar . How to Change UITextField Color The one which Holds search String To White .?
Edinburgh asked 14/12, 2017 at 13:8

4

Solved

I've implemented a UISearchController with its search bar in a navigatiom bar and I would like to make the search bar active when the view is loaded. When I say active, I mean that the keyboard app...
Rooke asked 7/7, 2015 at 16:14

3

Solved

I have a UISearchController which is configured to search a very large array of data. As such, when I am typing in the search bar, it takes a very long time to actually type out my search. It perfo...
Manley asked 13/10, 2015 at 15:17

8

In iOS 13 the behavior has changed so that by default when Navigation controller appears the search bar is visible (when UISearchController is assigned to a navigationItem.searchController). Some s...

15

Solved

As I understand, the default behaviour of UISearchController is: On tapping search bar, background is dimmed and 'cancel' button is shown. SearchResultsController is not shown till this point. Se...
Acro asked 11/6, 2015 at 19:56

2

I'm trying to use the standard UIRefreshControl and UISearchController on a UITableViewController. However it doesn't look like it does what it's supposed to. When refreshing, scrolling leaves the ...
Oddment asked 17/10, 2017 at 12:38

1

I am using the new UISearchController with searchbar inside tableview header.Everything works fine in portrait orientation but when I rotate to landscape and uisearchbar start editing its frame is ...
Johann asked 29/7, 2021 at 7:18

3

Solved

I implemented Dark Mode with the current beta version of Xcode in a relatively old app. I uploaded these to TestFlight for my testers. However, this crashes immediately for anyone who has the publi...

14

I'd like to change the text from "Cancel" to "Done" of the Cancel button inside the UISearchBar in iOS 8. I am using UISearchController. I've tried different approaches for iOS ...
Razo asked 11/3, 2015 at 15:32

22

Solved

I have a searchBar I'm setting in a tableviewcontroller. i've referenced this similar question UISearchBar cannot become first responder after UITableView did re-appear but am still unable to set i...

1

Solved

I see the dimsBackgroundDuringPresentation is now deprecated in iOS SDK 12. What is the replacement of this attribute?
Opportuna asked 1/4, 2021 at 14:4

11

Solved

How to change the default grey background at UISearchController search text field?
Corbin asked 13/12, 2018 at 13:6

5

Currently I am trying to embed a UISearchController into my application. But the UISearchBar, which is a property of the UISearchController, doesn't get displayed properly, if the UINavigationBar i...
Mayes asked 14/10, 2014 at 19:56

6

I made a view controller with a UISearchController and a UITableView . There are two different kind of search you can select from the search scope buttons : groups and people. Both searches work an...
Deviate asked 19/4, 2016 at 23:10

6

Solved

I have implemented a UISearchController in a TableView, pushed by a Navigation Controller. First my problem was that whenever I click on the SearchBar, it disappears. It works when I enter some te...
Eton asked 26/10, 2015 at 8:37

6

Solved

I created a UISearchController in a table view controller. I segue to this table view controller using a push segue from another view controller. I want the keyboard to show up with the cursor in t...
Eusebiaeusebio asked 28/6, 2015 at 23:21

© 2022 - 2024 — McMap. All rights reserved.