As the question title says, is it possible to enable paging in `UIScrollView` only for one direction?

I have a `UIScrollView` that scrolls in both x and y directions, but I want only one direction to be paginated, is this possible?

The only solution that came in my mind is to have another `UIScrollView` inside the first, is this the only solution?