fixed issue with hiding navBar
fixed issue with hiding navBar when scroll/table view in bottom position
This commit is contained in:
parent
735c8181fa
commit
85c696fcd9
|
|
@ -203,7 +203,7 @@ static inline CGFloat AACStatusBarHeight()
|
|||
|
||||
/* rounding to resolve a dumb issue with the contentOffset value */
|
||||
CGFloat end = floorf(self.scrollView.contentSize.height - CGRectGetHeight(self.scrollView.bounds) + self.scrollView.contentInset.bottom - 0.5f);
|
||||
if (self.previousYOffset > end)
|
||||
if (self.previousYOffset > end && deltaY > 0)
|
||||
{
|
||||
deltaY = MAX(0, deltaY - self.previousYOffset + end);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue