tristanhimmelman / HidingNavigationBar

Easily hide and show a view controller's navigation bar (and tab bar) as a user scrolls
MIT License
1.03k stars 127 forks source link

Constaints does not updated #44

Open black-lotus opened 8 years ago

black-lotus commented 8 years ago

I tried to hide navigation bar and tab bar, it's works but there is blank spot when navigation bar and tab bar is hidden. Does anyone solved it ?

simulator screen shot aug 2 2016 10 20 44 am simulator screen shot aug 2 2016 10 20 48 am

danhhgl commented 7 years ago

I have a same problem too. It seems the AutoLayout is not working. At the moment, I use this method to update manually, hidingNavigationBarManagerDidUpdateScrollViewInsets in HidingNavigationBarManagerDelegate. I think it's bad practical. Does anyone have any solutions for this issue?

kassemitani commented 7 years ago

@danhhgl can you share your code for updating the constraints ?