Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6144147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:36:41+00:00 2026-05-23T18:36:41+00:00

I want to have a scrollview with views inside that a user can swipe

  • 0

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.

scrollview

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:36:41+00:00Added an answer on May 23, 2026 at 6:36 pm

    I have come up with a solution that does what I describe here. https://github.com/roland/Carousel/tree/master/Carousel

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have a text box that the user can type in that
So I have a UIViewController subclass called MyTabBarViewController that has a UIScrollView. Inside of
I have a TableLayout inside a ScrollView, because of some special needs, I need
I want to make a seamless scrollView The scrollview should have web views as
In Android, I have a Parent RelativeLayout . Inside that I have, a ScrollView
I have a custom View that is nested inside ScrollView and HorizontalScrollView like this:
want to have a Hyperlink-Button in a gridView in which I can display a
I want to have a select-only ComboBox that provides a list of items for
I want to have two items on the same line using float: left for
I want to have a function that will return the reverse of a list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.