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 8796897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:43:40+00:00 2026-06-13T23:43:40+00:00

I have a scrollview with block of information. An example of the function i

  • 0

I have a scrollview with block of information. An example of the function i am looking for is. ..
Button A
Button B
Button C
ScrollView – has a height of 3000, width 320 (portrait layout in iOS)

button A i set the cgPointMake
[scrollViewSettings setContentOffset:CGPointMake(0,0)];

button B i set the cgPointMake
[scrollViewSettings setContentOffset:CGPointMake(0,1000)];

button C i set the cgPointMake
[scrollViewSettings setContentOffset:CGPointMake(0,2000)];

I do not have any code beyond this in regards to setting scroll limits or scroll range.
what i need is

Button A to have a scroll height range from y=0 to y=1000 so the user cannot scroll to see data where button B or C will take them.

Button B to have a scroll height range from y=1000 to y=2000 so the user cannot scroll up or down to see data where button A or C will take them.

Button C to have a scroll height range from y=1000 to y=2000 so the user cannot scroll up to see data where button A or B will take them.

I hope this makes sense.

Thank you in advance.

Here is the code i used for each scrollview

scrollViewMain.frame = CGRectMake(0, 54, 320,426); /*set the viewable frame of the scroll view*/
[scrollViewMain setContentSize:CGSizeMake(320,1708)]; /*set the content size of the scroll view*/

scrollViewSettings.frame = CGRectMake(0, 0, 320,426); /*set the viewable frame of the scroll view*/
[scrollViewSettings setContentSize:CGSizeMake(320,650)]; /*set the content size of the scroll view*/

scrollViewBMI.frame = CGRectMake(0, 426, 320,426); /*set the viewable frame of the scroll view*/
[scrollViewBMI setContentSize:CGSizeMake(320,570)]; /*set the content size of the scroll view*/

scrollViewBFC.frame = CGRectMake(0, 1278, 320,426); /*set the viewable frame of the scroll view*/
[scrollViewBFC setContentSize:CGSizeMake(320,568)]; /*set the content size of the scroll view*/

ViewBMR.frame = CGRectMake(0, 852, 320,426); /*set the viewable frame of the view*/
  • 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-06-13T23:43:41+00:00Added an answer on June 13, 2026 at 11:43 pm

    Why don’t you use 3 differents UIView and display the view you want in the scrollview.

    Ex :

    Create a first view that contains the same UI than your range (0 to 1000)
    Create a second view that contains the same UI than the second range (1000 to 2000)
    etc…

    And add the view you need when button A or B or C is pressed (removing the previous view).

    Hope it’ll help you.

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

Sidebar

Related Questions

I have a scrollview control that has a StackPanel (Orientation=Vertical) UI Element inside of
I have a scrollview in which i am creating buttons programmatically. On touch, button
I have a scrollview which has to display a view larger than the available
I have a layout where I have a ScrollView and some stuffs. It looks
I have a layout with scrollview: <?xml version=1.0 encoding=utf-8?> <ScrollView xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=match_parent android:layout_height=match_parent android:fillViewport=true
I have a ScrollView in a FrameLayout. ScrollView has a single child LinearLayout. I
I have a scrollview that is subview of view, and has the subviews. The
I have the following XML layout in my android application, using ScrollView: <?xml version=1.0
I have the following simple layout <?xml version=1.0 encoding=utf-8?> <ScrollView xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent android:layout_height=wrap_content >
Right I have a main layout defined, that has a frame, a table in

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.