Hide bars on tap within debug log view
This commit is contained in:
parent
b6d419beed
commit
16b8a44a30
|
@ -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?) {
|
||||||
|
|
Loading…
Reference in New Issue