Contents

hidesBarsOnSwipe

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

Declaration

var hidesBarsOnSwipe: Bool { get set }

Discussion

When this property is set to true, 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 false.

See Also

Hiding the navigation bar