I want to have a scrollview with views inside that a user can swipe left or right and interact with it. The scrollview has UIViews inside that a user needs to interact with.

I have been able to add the views and it works okay with Paging Enabled. Unfortunately, I don’t seem to find a good way of showing previews.
There’s a post at a UIScrollview Paging Hack, that explains how to deal with it. The solution has three problems:
- It works only if the previews are 1/4 of the width of the center image. I originally thought I found a formula to deal with the size of the previews, but as the number of slides changed I was wrong.
- If the width of the previews are not the 1/4 of the width the sliding works, but the center slide becomes offset from the center.
- The current slide doesn’t have UI interaction enabled unless it’s the first one (and part of what’s visible). When you slide to other sections, I can’t use buttons.
I’ve searched a lot on the web on how to do this, and haven’t been able to find a solution. Suggestions are welcomed even in Objective C.
UPDATE: I have come up with a solution that does what I describe here. https://github.com/roland/Carousel/tree/master/Carousel
I have come up with a solution that does what I describe here. https://github.com/roland/Carousel/tree/master/Carousel