The gesture recognizer used to hide and show the navigation and toolbar.
- iOS 8.0+
This property contains the gesture recognizer used to hide or show the bars. The gesture recognizer is inactive unless the
hides property is
YES. 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.