Fix nav bar on iPad search screen hiding
This commit is contained in:
parent
9ec7177bfa
commit
4c9d5e8465
|
@ -40,6 +40,7 @@ class SearchViewController: UIViewController {
|
|||
searchController.searchResultsUpdater = resultsController
|
||||
searchController.searchBar.autocapitalizationType = .none
|
||||
searchController.searchBar.delegate = resultsController
|
||||
searchController.hidesNavigationBarDuringPresentation = false
|
||||
definesPresentationContext = true
|
||||
|
||||
navigationItem.searchController = searchController
|
||||
|
|
Loading…
Reference in New Issue