Yup is:
yourScrollView.pagingEnabled = YES;
See UIScrollView for more details.
If the value of this property is YES, the scroll view stops at multiple scroll boundaries when the user scrolls. The default value is NO.
I suggest you change the view structure to something like this:
+--------+ | | <- UIView to hold your structure +--------+ +--+ | | <- UIScrollView, clipsToBounds = NO, width = column.width +--+ +--+--+--+ | | | | <- UIView columns +--+--+--+
Center the UIScrollView horizontally and verify that the UIView containing the UIScrollView is a multiple of the width of the UIScrollView
Paul.s
source share