Search code examples
iosuiscrollviewuiscrollviewdelegate

Decelerating delegate method of the scrollView is not called for vertical scrolling?


The scrollView delegate method scrollViewDidEndDecelerating:scrollView is not get called for vertical scrolling(It is working well for horizontal scrolling) I don't know how to make it inform the View controller about the deceleration of vertical scrolling. help me to know if it is possible?

Edit:-I've enabled paging in the scrollView

Solution

  • I don't know what you are doing wrong, but I just verified that it does in fact get sent - run this project from github. I verified the message comes with both directionLock on and off.