Skip to content

Commit ac3177e

Browse files
author
Olga Konoreva
committed
Fix status bar in landscape issue
1 parent d5a7125 commit ac3177e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Sample/Sample/HostViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class HostViewController: MenuContainerViewController {
3131
return .lightContent
3232
}
3333

34+
override var prefersStatusBarHidden: Bool {
35+
return false
36+
}
37+
3438
override func viewDidLoad() {
3539
super.viewDidLoad()
3640

Sample/Sample/NavigationMenuViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ class NavigationMenuViewController: MenuViewController {
2828
let menuItems = ["Kitty", "TabBar cats"]
2929

3030
@IBOutlet weak var tableView: UITableView!
31+
32+
override var prefersStatusBarHidden: Bool {
33+
return false
34+
}
3135

3236
override func viewDidLoad() {
3337
super.viewDidLoad()

0 commit comments

Comments
 (0)