Why do you check for (self.bounds.size.height * 2) at line 114 instead of just self.bounds.size.height? This seems to cause me issues on tableviews that are just slightly bigger then the screen, they start to scroll, and it starts to hide the nav bar, but the frame of the scrollview gets bigger (in setFrame) and the test then starts failing ,and my nav bar remains in a half hidden state until it is reset.
If I take out the multiply by two in the test it seems OK
Why do you check for (self.bounds.size.height * 2) at line 114 instead of just self.bounds.size.height? This seems to cause me issues on tableviews that are just slightly bigger then the screen, they start to scroll, and it starts to hide the nav bar, but the frame of the scrollview gets bigger (in setFrame) and the test then starts failing ,and my nav bar remains in a half hidden state until it is reset.
If I take out the multiply by two in the test it seems OK