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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:44:30+00:00 2026-05-15T10:44:30+00:00

I have a problem in an iPhone application. Application has a table view controller

  • 0

I have a problem in an iPhone application.

Application has a table view controller with custom table view cells. Each cell has a Label (please correct me if I need to use text view etc). I am getting text dynamically from a web service call and I don’t know how long text gonna be.

Now problem is that I want to adjust the table view cell height based on text I receive. How can I grow Label or TextView height withinin table view cell so it can contain all the text and in effect grow table view cell height.

Does anyone know how to handle this kind of design problem?

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-05-15T10:44:31+00:00Added an answer on May 15, 2026 at 10:44 am

    The answer depends on the size and complexity of the information your displaying.

    For small amounts of text, you can use the NSString UIKit Additions to calculate the dimensions of the displayed string and then adjust the size of labels or other controls of a cell before returning the cell to the tableview. This will let you fine tune the display for each cell.

    For larger amounts of text I suggest a detail view if at all possible. Display a small amount of text in the table and then have the selection of the table open another view containing the full text. I think it difficult for most users to read a lot of text in a tableview.

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

Sidebar

Related Questions

I have a problem when pushing data to my sqlite database in iphone application.
I have a problem On 3GS Iphone.When i deploying a application on phone then
My iPhone app is a Tab Bar Application, which has 5 tabs. In each
Hello guys, I have a general design problem with iPhone application. I want to
i have a problem while building and running an iphone application.Im using xml parsing
I am developing an iPhone application which has a lot of different cards, each
I have the following problem. My application has a tab bar at the bottom
I have an iPhone application that has a user preference page where the user
I have a tab bar application. Each tab contains navigation controller allowing the user
i have problem with autorotate on iphone i set up in all classes -

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.