When i set navigationController.hidesBarOnSwipe = YES
and try swiping in the webView shown the navigation bar is hidden, but it will never show up again, when i try swiping to get it back.
My ViewController is listening to the swipe event :
[self.navigationController.barHideOnSwipeGestureRecognizer addTarget:self action:@selector(swipe:)]?
But this selector is in fact never called again after the navigation bar is hidden because of the Swipe. Anyone implemented hidesBarOnSwipe
? Is it a known bug or is it as designed that it won't show the navigation bar after hiding it.
Before:
After: