Fix refreshControl offset issue

This commit is contained in:
Bob Sun 2017-09-24 22:52:28 -07:00
parent d46588cacb
commit 70bf15b80c
2 changed files with 47 additions and 35 deletions

View file

@ -196,6 +196,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
searchController.searchBar.delegate = self
tableView.delegate = self
tableView.dataSource = self
tableView.contentInset = UIEdgeInsetsMake(56, 0, 0, 0)
definesPresentationContext = true
view.addSubview(searchBarView)
tableView.insertSubview(syncControl, at: 0)