Scrolling UITableView

Do I need to know if it scrolls UITableViewat the top or bottom of the table?

+5
source share
1 answer

There is no single function / property for this. I think the easiest way to get direction is to save the current content offset in the delegate method scrollViewWillBeginDragging:and compare it with the current offset value in the delegate method scrollViewDidScroll:.

+8
source

All Articles