10
to achieve this u need to enable the paging of the scrollview
For example:
[scrollView setContentSize:CGSizeMake(640, 161)];
[scrollView setPagingEnabled:YES];
here, width of scrollview is 640 (twice of width of iphone screen), if paging is enabled it will divide it equally depending on the width. So as we scroll to this position it will stop at the particular offset.
[scrollView setContentSize:CGSizeMake(640, 161)];