setNavigationBarHidden(_:animated:)
Sets whether the navigation bar is hidden.
Declaration
func setNavigationBarHidden(_ hidden: Bool, animated: Bool)Parameters
Discussion
For animated transitions, the duration of the animation is specified by the value in the hideShowBarDuration constant.