Preventing a UIScrollView from overscrolling?
I'm using a UIScrollView in an app that I'm working on. Inside the scrollview is an image, which fills the scrollview. This is all working fine.
However, my issue is that if the user drags to scroll too far in one direction, the original view is shown - basically equating to a white part of the screen, which makes the app look sloppy.
Is there any way to fix this so that the scroll stops right at the edge of the scroll view? Or at least shows the same image underneath so that there isn't a huge white spot on the screen?
|