Comments (1)
Hello Thomas.
Thank you for your question and your feedback.
The behaviour you expect is easy to achieve with InstantSearch.
Just follow this example.
But when you instantiate your SearchBarController
, wrap the UISearchController
's searchBar into it as follows:
let searchController: UISearchController = ...
searchBarController = .init(searchBar: searchController.searchBar)
Then set searchController property of navigation item of your ViewController to put the search bar in the navigation bar:
navigationItem.searchController = searchController
We just added an item in our backlog to document the UISearchController
and update our demos. Thanks again for giving us feedback on this.
from instantsearch-ios.
Related Issues (20)
- Recommendation like Get Trending Global Items in iOS
- Add custom JSONDecoder property to HitsInteractor HOT 2
- Pagination for HitsController not working sometimes in iOS HOT 3
- Incorrect facet selected attribute value on Hierarchical filter HOT 1
- Incorrect number of hits on HitsInteractor when using pagination (infinitescroll) HOT 4
- Wrong issue
- Add the possibility to map the index data model to a custom data model when fetching hits HOT 2
- Empty queries conditional display not working in HitsObservableController
- SwiftUI: Setting automaticallyShowsCancelButton HOT 1
- Reporting a vulnerability
- Sequence extension with `sorted(by:)` function should be internal HOT 1
- The app references non-public selectors `didToggleSwitch` and `didSelectSegment` warning when uploading to AppStore Connect HOT 1
- Can't disable Insights HOT 2
- Not able to pass dynamic attribute to FacetList Connector ?
- Xcode warnings for InstantSearchInsights
- EXC_BAD_ACCESS (code=1, address=0xf69aa6f6bd70) in HOT 1
- HitsObservableController not clearing out old results after applying filter HOT 2
- HitsList returning Scrollview
- Breaking changes in dependencies HOT 9
- Removing Logging from dependences makes build failures HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instantsearch-ios.