iphonepaginationuiscrollview

4 directional scrollview with paging


I need to implement a scroll view which (on a button press) will page either up, left, down or right depending on which button was pressed. Also the user can indefinately page in the same direction which will load the views in a kind of carousel. So I have 3 viewControllers.... viewController 1 is shown first....The user presses left, it shows viewController2, left again shows viewController3, left again is back to viewController 1 etc. and the same for up,down,right.

Does anyone know a good way to implement this? Im open to all suggestions.

Many thanks

Jules


Solution

  • Edit - second attempt at a clear explanation:

    Consider this matrix.

    enter image description here