Instance Property

hidesBarsWhenVerticallyCompact

A Boolean value indicating whether the navigation controller hides its bars in a vertically compact environment.

Declaration

@property(nonatomic, readwrite, assign) BOOL hidesBarsWhenVerticallyCompact;

Discussion

When the value of this property is YES, the navigation controller hides its navigation bar and toolbar when it transitions to a vertically compact environment. Upon returning to a vertically regular environment, the navigation controller automatically shows both bars again. In addition, unhandled taps in the content area cause the navigation controller to show both bars again. The default value of this property is NO.

See Also

Hiding the Navigation Bar

hidesBarsOnTap

A Boolean value indicating whether the navigation controller allows hiding of its bars using a tap gesture.

hidesBarsOnSwipe

A Boolean value indicating whether the navigation bar hides its bars in response to a swipe gesture.

hidesBarsWhenKeyboardAppears

A Boolean value indicating whether the navigation controller hides its bars when the keyboard appears.

navigationBarHidden

A Boolean value that indicates whether the navigation bar is hidden.

barHideOnTapGestureRecognizer

The gesture recognizer used to hide and show the navigation and toolbar.

barHideOnSwipeGestureRecognizer

The gesture recognizer used to hide the navigation bar and toolbar.