make search bar not translucent
This commit is contained in:
parent
0eb2745d88
commit
e5b95a79c3
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
||||||
tableView.dataSource = self
|
tableView.dataSource = self
|
||||||
searchController.searchResultsUpdater = self
|
searchController.searchResultsUpdater = self
|
||||||
searchController.dimsBackgroundDuringPresentation = false
|
searchController.dimsBackgroundDuringPresentation = false
|
||||||
|
searchController.searchBar.isTranslucent = false
|
||||||
|
searchController.searchBar.backgroundColor = UIColor.gray
|
||||||
searchController.searchBar.sizeToFit()
|
searchController.searchBar.sizeToFit()
|
||||||
definesPresentationContext = true
|
definesPresentationContext = true
|
||||||
searchBarView.addSubview(searchController.searchBar)
|
searchBarView.addSubview(searchController.searchBar)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue