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.

Arun
  • 701
  • 10
  • 26

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
  • 10,970
  • 7
  • 41
  • 69