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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:48:59+00:00 2026-05-31T11:48:59+00:00

I have been recently getting into iOS development, and I’m trying to build something

  • 0

I have been recently getting into iOS development, and I’m trying to build something that looks (very roughly) like this: http://falkendev.com/downloads/ios-sample.png

Basically, it’s a page that shows simple text — large header text that may span multiple lines, a separator line, and then smaller descriptive text that may be a variable length. This text does not need to be editable. I’m working using interface builder, but I imagine that what I want done may need to be done programmatically?

Two questions:

— How do I go about creating these text fields so that they adjust their height based on the content? I’m assuming I would be using a standard “text” field for each, make them not editable, and then programmatically change their height? And then based on the height of the various text fields, I would need to adjust the positioning of the text fields and the divider line between them?

— How do I go about making the page scrollable? It’s possible that the descriptive text will be long and would extend off the edge of the screen. I would want the whole page to be scrollable, not just the descriptive text section. I’m assuming I would place all my elements within a scroll view… but currently when I do that and view it, the view just gets centered (cutting off both the top and the bottom) and I can’t scroll it at all.

Thanks for any help!

  • 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-31T11:49:00+00:00Added an answer on May 31, 2026 at 11:49 am
    • set the scrollview content size to greater than its actual size to
      make it scrollable like this :

      scrollView.contentSize = CGSizeMake(YourWidth ,YourHEight ); // Here you can change either of height and width to make it more scrollable in that direction.

    • You can use UITextView object to have a scrollable text field…
      which can scroll to show additional text..just set its editing
      property to NO.

    • Otherwise to dynamically update label height yourself…use

      NSString sizeWithFont method

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

Sidebar

Related Questions

I recently have been getting more into C++. I have done some (very minimal)
I have been trying to learn CakePHP's ACL stuff recently but keep getting confused,
I am primarily a c# programmer. I have recently been getting into some jquery
I use an sql server regularly and have recently been getting frustrated by the
I have been recently digging into Mobile Programming, I practically tried out the J2ME
This is a (hopefully) really simple question - I have been told recently that
I have recently been doing a bit of investigation into the different types of
I have recently been exposed to naked objects. It looks like a pretty decent
I've been looking into memory management a lot recently and have been looking at
Perhaps I am getting rusty (have been writing in Python recently). Why does this

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.