Next and Previous button for looping scrollView

I have a UIScroll view that scrolls between 4 different XIBs. I would like to disable the ability of scrolling by touching the scroll view. There are two buttons at the bottom of my app that I would like to scroll forward and back in a loop. The ViewController is forced to be in landscape orientation, and the scroll view dimensions are 568w x 217h.

Here is an image of the layout: Click Here

Answers


What you are tying to do is called "paging", and in my opinion a scroll view in not the best way to do so... here is a great project that looks like what you need:

https://github.com/caesarcat/InfinitePagingView

Hope this helps


Need Your Help

Symfony & Doctrine: Storing application configuration in the database?

symfony doctrine-orm

I'm planning to store a few global configuration values (page title, page keywords, current theme, etc.) in the database. What's the best approach to this? Would you guys create a Doctrine Entity w...

Using variant in array causes Excel VBA type mismatch error

excel vba excel-2010 pivot-table

I'm trying to set slicer values based on code to select a range of 13 consecutive months. If I use the variable in the code, it creates a type mismatch error. If I debug.print the variable and past...