Is there anyway to know if a UITableView
is scrolling towards the upper or the lower end of the table ?
There's no single function/property to do that. I think the easiest way to get the direction is to save current content offset in delegate's scrollViewWillBeginDragging:
method and compare it to the current offset value in delegate's scrollViewDidScroll:
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With