https://github.com/ykws/searchexample
iOS Search Example
https://github.com/ykws/searchexample
github-actions-ci ios uisearchcontroller
Last synced: 11 months ago
JSON representation
iOS Search Example
- Host: GitHub
- URL: https://github.com/ykws/searchexample
- Owner: ykws
- Created: 2021-11-17T08:47:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T16:36:47.000Z (over 4 years ago)
- Last Synced: 2025-01-28T13:50:19.509Z (about 1 year ago)
- Topics: github-actions-ci, ios, uisearchcontroller
- Language: Swift
- Homepage: https://zenn.dev/ykws/articles/ios15-search-controller
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iOS Search Example
[](https://github.com/ykws/SearchExample/actions/workflows/xcode-build.yml)
[](https://developer.apple.com/macos/)
[](https://developer.apple.com/xcode)
It is an iOS Search Example App that allows you to change the properties of the settings and can check that [UISearchController](https://developer.apple.com/documentation/uikit/uisearchcontroller) indicating wheter the underlying content is obscured during a search.
## Properties of the settings
- [obscuresBackgroundDuringPresentation](https://developer.apple.com/documentation/uikit/uisearchcontroller/1618656-obscuresbackgroundduringpresenta)
- [dimsBackgroundDuringPresentation](https://developer.apple.com/documentation/uikit/uisearchcontroller/1618660-dimsbackgroundduringpresentation)
### Priority
dimsBackgroundDuringPresentation > obscuresBackgroundDuringPresentation
## State of the settings
- undefine = default
- iOS14 and earlier
- `true`
- iOS15
- `false`
- `false`
- `true`
## Screen recordings
### iOS15
https://user-images.githubusercontent.com/5770480/142238198-7ffdce35-78bd-4627-85ab-79e496048774.mp4
### iOS14
https://user-images.githubusercontent.com/5770480/142238266-ac108538-1b54-47b3-aa51-e954635fa6ff.mp4
## References
- [iOS15 で UISearchController を利用する時の注意点](https://zenn.dev/ykws/articles/ios15-search-controller)
- [UISearchControllerのインクリメンタルサーチをよりインクリメンタルにする](https://qiita.com/temoki/items/a2453995615752f8f52d)