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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:10:39+00:00 2026-06-13T00:10:39+00:00

I have a scroll view with content that is 1000px tall and would like

  • 0

I have a scroll view with content that is 1000px tall and would like to be able to lay it out for easy design on the storyboard.
I know it can be done programmatically but I really want to be able to see it visually. Every time I put a scroll view on a view controller it won’t scroll. Is it possible to get it to work like I want or do I have to do it in the code?

  • 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-13T00:10:40+00:00Added an answer on June 13, 2026 at 12:10 am

    I’m answering my own question because I just spent 2 hours to find the solution and StackOverflow allows this QA style.

    Start to finish here is how to make it work in storyboard.

    1: go to you view controller and click on Attribute Inspector.

    2: change Size to Freeform instead of Inferred.

    3: Go to the main view on that storyboard, not your scrollview but rather the top level view.

    4: Click Size Inspector and set this view to your desired size. I changed my height to 1000.

    Now you will see that you storyboard has your view setup so you can see the entire height of your scroll for easy design.

    5: Drop on a scrollview and stretch it so it takes up the whole view. You should now have a scrollview with size of 320,1000 sitting on a view in your view controller.

    Now we need to make it scroll and need to make it show content correctly.

    6: Click on your scrollview and click on Identity Inspector.

    7: Add a User Defined runtime attribute with KeyPath of contentSize then type of SIZE and put in your content size. For me it is (320, 1000).

    Since we want to see our whole scroll view on the storyboard we stretched it and it has a frame of 320,1000 but in order for this to work in our app we need to change the frame down to what the visible scrollview will be.

    8: Add a runtime attribute with KeyPath frame with Type RECT and 0,0,320,416.

    Now when we run our app we will have a visible scrollview has a frame of 0,0,320, 416 and can scroll down to 1000. We are able to layout our subviews and images and whatnot in Storyboard just the way we want them to appear. Then our runtime attributes make sure to display it properly. All of this without 1 line of code.

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

Sidebar

Related Questions

I have a scroll view that I would like to fill the whole screen,
i have a scroll view in my application and i want that when the
I have a scroll view with transparent background that covers most of the screen.
I have added a scroll view of content size 320,1000 to my view. It's
I have a scroll view which has one UIView inside which contains the content.
I have a scroll view that is the width of the screen but only
I have a view hierarchy that is layed out as follows: parentView scrollView contentViewA
I have applied scroll view to the entire layout and that layout has one
I have a Cocoa window, whose content view contains an NSScrollView that, in turns,
I have a scroll view that holds about 614 Grid Controls (it's used as

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.