To create the sloppy tap gesture, the user makes the most minor drag motion possible with his finger. I call this a "sloppy tap" because about 1 in 10 of my own taps trigger this gesture on my iPad 2. Visually, the scroll view will not appear to move.
- scrollViewWillBeginDragging:
- scrollViewDidEndDragging:willDecelerate:
Here is what gets called when a user properly flicks his finger horizontally to scroll to a new page.
- scrollViewWillBeginDragging:
- scrollViewDidScroll: × ~4
- scrollViewDidEndDragging:willDecelerate:
- scrollViewDidScroll: × ~24;
- scrollViewDidEndDecelerating:
I already toggle the flag in scrollViewWillBeginDragging: and scrollViewDidEndDecelerating:. The solution is to also toggle the flag in scrollViewDidEndDragging:willDecelerate: when decelerate is NO.
I would have figured this out sooner if I had read the documentation more closely.
No comments:
Post a Comment