I would like to disable the navigation bar while adding a child view and enable it again once I remove the child view. How to do that. A similar action when an action sheet is shown.
In Swift:
self.navigationController?.setNavigationBarHidden(true, animated: true)