0

how to know when the scrollview is scrolled vertically or horizontally? i wanted to know the direction of UIScrollview.?

please do help,

thanks in advance.

Pavan
  • 443
  • 5
  • 21
  • 1
    Take a look here: http://stackoverflow.com/questions/2543670/iphone-sdk-finding-the-direction-of-scrolling-in-uiscrollview – MByD Apr 16 '12 at 19:26

1 Answers1

1

You should have look into the contentOffset property of the scroll view.

dasdom
  • 13,975
  • 2
  • 47
  • 58
  • You can find sample code when you follow the link in the comment of Binyamin Sharet below your question. – dasdom Apr 16 '12 at 19:42