mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-21 02:36:19 +10:00
Fix navigation bar apperance
This commit is contained in:
@@ -33,6 +33,10 @@ class SettingsViewController: UIViewController {
|
||||
settingsTableView.registerNib(UINib(nibName: settingsUserCellIdentifier, bundle: nil), forCellReuseIdentifier: settingsUserCellIdentifier)
|
||||
settingsTableView.registerNib(UINib(nibName: settingsMoreCellIdentifier, bundle: nil), forCellReuseIdentifier: settingsMoreCellIdentifier)
|
||||
|
||||
}
|
||||
|
||||
override func viewWillAppear(animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
if let navigationController = navigationController {
|
||||
navigationController.navigationBar.backgroundColor = nil
|
||||
navigationController.navigationBar.translucent = true
|
||||
|
||||
Reference in New Issue
Block a user