When scrollViewDidEndScrollingAnimation
is being called and in which cases would I need to use it?
views:
60answers:
1
A:
From the documentation:
Discussion The scroll view calls this method at the end of its implementations of the UIScrollView and setContentOffset:animated: and scrollRectToVisible:animated: methods, but only if animations are requested.
Use it whenever you want to know about the scroll view animation ending.
DougW
2010-06-14 00:14:45
So can I say that it is called when the scroll view is finished for the cases when the scroll initiated ONLY programmatically (not by user)?
Michael
2010-06-14 00:18:00
It is likely that those methods are called when the user initiates the scroll. Should be simple to test.
DougW
2010-06-14 02:19:57
The reason I posted question that my test shows this method is not called in case of user scroll. So I was confused.
Michael
2010-06-14 02:30:51
Ah, then yes, that may only fire in the case of programmatic movements.
DougW
2010-06-14 17:46:08