Added new extension "navigationBarHidden".
This commit is contained in:
parent
aabb796d3d
commit
71063d369c
|
@ -248,9 +248,9 @@ extension UIViewController {
|
|||
_ = navigationController?.popViewController(animated: true)
|
||||
}
|
||||
|
||||
/// EZSE: Added extension for popToRootViewController
|
||||
public func popToRootVC() {
|
||||
_ = navigationController?.popToRootViewController(animated: true)
|
||||
/// EZSE: Hide or show navigation bar
|
||||
public func navigationBarHidden(_ hide:Bool) {
|
||||
navigationController?.setNavigationBarHidden(hide, animated: true)
|
||||
}
|
||||
|
||||
///EZSE: Presents a view controller modally.
|
||||
|
|
Loading…
Reference in New Issue