UIScrollView bounces half page when at its bounds

614 Views Asked by At

I have a scrollview in my app. It works fine, but when it's at its edges (beginning and the last photo), it bounces... bad. If I try to scroll it bounces me back correctly, but if I do it stronger (faster) it bounces half to the previous photo.

It's easier to make you see what I mean, here's a video I took (sorry for the quality, it's taken with an iPad :D )

http://www.youtube.com/watch?v=4wErAyetyBw

2

There are 2 best solutions below

0
On

Finally I found that this was because an incorrect count of the scroll view width. Thanks for all the comments and answers!

1
On

You may want to use Three20 for photo viewing with this tutorial.