hide search bar by default
This commit is contained in:
parent
de9aed4cbe
commit
c08d73523c
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,8 @@ class PasswordsTableViewController: UITableViewController {
|
|||
searchController.dimsBackgroundDuringPresentation = false
|
||||
definesPresentationContext = true
|
||||
tableView.tableHeaderView = searchController.searchBar
|
||||
// tableView.scrollToRow(at: IndexPath(row: 0, section: 0), at: UITableViewScrollPosition.top, animated: false)
|
||||
tableView.setContentOffset(CGPoint(x: 0, y: 44), animated: false)
|
||||
|
||||
}
|
||||
|
||||
func filterContentForSearchText(searchText: String, scope: String = "All") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue