Instance Property

hidesBarsOnSwipe

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

Declaration

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

Discussion

When this property is set to YES, an upward swipe hides the navigation bar and toolbar. A downward swipe shows both bars again. If the toolbar does not have any items, it remains visible even after a swipe. 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.

hidesBarsWhenVerticallyCompact

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

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.