Hide bars on tap within debug log view

This commit is contained in:
Davide De Rosa 2019-04-29 17:50:03 +02:00
parent b6d419beed
commit 16b8a44a30
1 changed files with 14 additions and 0 deletions

View File

@ -58,6 +58,20 @@ class DebugLogViewController: UIViewController {
} }
} }
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
navigationController?.isToolbarHidden = false
navigationController?.hidesBarsOnTap = true
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
navigationController?.isToolbarHidden = true
navigationController?.hidesBarsOnTap = false
}
// MARK: Actions // MARK: Actions
@IBAction private func share(_ sender: Any?) { @IBAction private func share(_ sender: Any?) {