Changed fun for computed var
This commit is contained in:
parent
1b43970d03
commit
c7480df85e
|
@ -249,8 +249,13 @@ extension UIViewController {
|
|||
}
|
||||
|
||||
/// EZSE: Hide or show navigation bar
|
||||
public func navigationBarHidden(_ hide:Bool) {
|
||||
navigationController?.setNavigationBarHidden(hide, animated: true)
|
||||
public var isNavBarHidden:Bool {
|
||||
get {
|
||||
return (navigationController?.isNavigationBarHidden)!
|
||||
}
|
||||
set {
|
||||
navigationController?.isNavigationBarHidden = newValue
|
||||
}
|
||||
}
|
||||
|
||||
///EZSE: Presents a view controller modally.
|
||||
|
|
Loading…
Reference in New Issue