Fix tabbar transparent issue
This commit is contained in:
parent
bd659c2fc3
commit
b420ffb6a5
2 changed files with 82 additions and 77 deletions
|
|
@ -64,6 +64,9 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
|||
|
||||
tableView.rowHeight = UITableView.automaticDimension
|
||||
tableView.estimatedRowHeight = 52
|
||||
let adjustForTabbarInsets = UIEdgeInsets(top: 0, left: 0, bottom: tabBarController!.tabBar.frame.height, right: 0)
|
||||
tableView.contentInset = adjustForTabbarInsets
|
||||
tableView.scrollIndicatorInsets = adjustForTabbarInsets
|
||||
|
||||
editUIBarButtonItem.isEnabled = false
|
||||
navigationItem.rightBarButtonItem = editUIBarButtonItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue