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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:35:09+00:00 2026-06-07T00:35:09+00:00

I am having layout problems with the storyboard editor with a fairly simple screen.

  • 0

I am having layout problems with the storyboard editor with a fairly simple screen. I have a UIViewController to which I have added a 320×440 UIScrollView at 0,0 followed by a 320×20 UIProgressBar at 0,440. It looks fine in Storyboard editor. I’m not entirely sure how the 20 pixel status bar at the top of the screen is accommodated given the CGRect frame coordinates that Storyboard calculates.

On loading ( in -(void)viewDidLoad ), the UIScrollView frame seems to be set to 320×460 pixels at 0,0 but the UIProgressBar is still 320×20 at 0,440.

When I add subviews to the UIScrollView, (UIImageViews in particular), they get stretched and get clipped on the screen because although the UIScrollView thinks it is 460 pixels high, it only has 440 pixels of screen to display in.

Can anyone point me to a solution?

Thanks

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

    OK – I have identified what was going on – there were a number of issues, nearly all to do with mutually incompatible settings in storyboard attributes on various view controllers.

    In summary, the main view controller containing the UIScrollView had the ‘wants full screen’ checkbox ticked – goodness knows how, but it appears that I had then gone through other views trying to compensate for that initial error by clipping, resizing, setting layout constraints etc. which resulted in rather confusing outcomes.

    My advice would be to not touch ANYTHING in storyboard editor unless you know what it’s effect will be – it is a dangerous place. I found the issue by going back to basics and creating a trivially simple replication of my app and then observing the differences between that app and my own. Sorry if I wasted anybody’s time researching an answer.

    Thanks

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

Sidebar

Related Questions

I have been having problems creating a relative layout in XML for a list
I have been asking here or the problems I'm having with this layout for
I have a multi-column layout in a UIWebview (webkit control) but I'm having problems
I'm having problems with something that should be simple. I have two use cases...
i'm having problems with my application, i added an manifest that must prevent screen
Typical search layout having RelativeLayout, TextView, EditText and Button I have a.9.png image having
we have a Tiles layout page having Header, Menu, Body and Footer. In this
I'm having some problems with jQuery to filter some content from a portfolio layout.
I'm having problems with my page's layout. I'm trying to do a header, 3-column,
IE6 is giving me issues of course. I'm having problems with my layout using

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.