0

I have three view added to a scroll view, also i have added horizontal swipe in scroll view but I need to call a web service for each swipe, can any one help which scroll view method is used for calling the web service for horizontal swiping.

jerfin
  • 803
  • 1
  • 13
  • 28

1 Answers1

1

The scrollView delegate method for scrolling is scrollViewDidScroll(_:) - Documentation

For finding the direction of scroll (in case you have multiple) you can check out this answer:

Finding the direction of scrolling in a UIScrollView?

Community
  • 1
  • 1
Dejan Skledar
  • 11,280
  • 7
  • 44
  • 70