I put uiscrollview and set,
self.scrollViewHor.directionalLockEnabled = NO;
now i’ve both vertical and horizontal scrolling enabled.
My problem is, When i scroll horizontal, i want to get the top image
on next frame,
ex; when i scroll from 1.a to 1.b vertically and then scroll to right horizontally , i want
to see the image 2.a not 2.b..
-------------- --------------
- Image 1.a - - Image 2.a -
-------------- --------------
-------------- --------------
- Image 1.b - - Image 2.b -
-------------- --------------
-------------- --------------
- Image 1.c - - Image 2.c -
-------------- --------------
If I understood you right, …
Use scroll views within scroll views.
A large scrollview in the background should not be higher than the screen/visible part of the scroll view. It has horizontal scrolling enabled only.
It contains two (or more – for your example two) scroll views. One for each column. Those scroll views have vertical scrolling enabled only.
Doing so you should get everything out of the box. For free actually.