AMScrollingNavbar icon indicating copy to clipboard operation
AMScrollingNavbar copied to clipboard

scrolling triggered when navbar is hidden and phone is tilted...

Open mateo666 opened this issue 8 years ago • 2 comments

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 ?

mateo666 avatar Jun 16 '17 14:06 mateo666

If I remember correctly I need to force the navbar to appear to react to what UIKit does.

andreamazz avatar Jun 16 '17 14:06 andreamazz

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()
    }
  }

mateo666 avatar Jun 20 '17 16:06 mateo666