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:.
source
share