AMScrollingNavbar
AMScrollingNavbar copied to clipboard
scrolling triggered when navbar is hidden and phone is tilted...
So when the navbar is hidden and i tilt my phone in all directions the scrolling and expanded events are triggered... Is this a known feature or a bug or else ?
If I remember correctly I need to force the navbar to appear to react to what UIKit does.
when in fullscreen i set scrollingEnabled to false cause i want to stay this way (user exit fullscreen via another method)
i could change the delayDistance once in fullscreen but i dont see how to do that ?
For the rotation showing the navbar maybe should call this only when scrollingEnabled is true ?
This change fixed my problem.
func didRotate(_ notification: Notification) {
if scrollingEnabled{
showNavbar()
}
}