title: UIScrollView determine scroll direction on scrollViewDidEndDragging when paging
body: <p>Does anyone know how to determine which direction a scroll view will move when the user lifts their finger, i.e. when scrollViewDidEndDragging gets called?</p>
  
  <p>Specifically, when the scroll view is set to paging.</p>
  
  <p>Most of the time, I can just track and check the contentOffset in scrollViewDidScroll, however, there are special cases where the user flicks the screen quickly. In some cases a LEFT-RIGHT-LEFT move will scroll to the next page, and in others, the same pattern will remain on the same page.</p>
  
  <p>I'm guessing it has something to do the with acceleration (difference between the last few points) of the touch.</p>
  
  <p>(I'm on iOS4.3 on an iPad)</p>