barHideOnSwipeGestureRecognizer
The gesture recognizer used to hide the navigation bar and toolbar.
Declaration
var barHideOnSwipeGestureRecognizer: UIPanGestureRecognizer { get }Discussion
This property contains the gesture recognizer used to hide and show the navigation bar and toolbar. The gesture recognizer is inactive unless the hidesBarsOnSwipe property is true. You can make changes to the gesture recognizer as needed but must not change its delegate and you must not remove the default target object and action that come configured with it. Do not try to replace this gesture recognizer by overriding the property.
If you tie this gesture recognizer to one of your own, make sure both recognize their gestures simultaneously to ensure that each has a chance to handle the event.