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

  • Home
  • SEARCH
  • 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 8956415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:47:05+00:00 2026-06-15T14:47:05+00:00

Context: Building an app that populates a table that takes in data from a

  • 0

Context:

  • Building an app that populates a table that takes in data from a asyc json dump.
  • The cells are of a custom class (I defined). The main label in the cell can be very long.
  • It is “placed” in storyboard within a prototype cell but customized via code (pretty standard stuff).
  • Labels are resized in cellForRowAtIndexPath and rows are resized via heightForRowAtIndexPath — rows are resized by forcing a call to cellForRowAtIndex like Massimo’s answer here

So per the question at hand – I’ve noticed some interesting (bad) things that happen.

First issue: When the table loads, the rows and labels are dynamically resized correctly! Great! However, when I scroll down and then scroll back up, the label heights will be incorrect — (for example) the first row was correct at loading. Then when I scroll down and then scroll back up to see it again, it will be truncated. Specifically, the row size will be fine but the label height will change and become truncated to 2 lines only. Wondering if this is because I did both storyboard and coding to customize the cell. Anybody see this before?

Second issue: When I scroll down, while the rows are sized correctly (large), the labels are short (truncated.) Wondering if it’s some reverse of the above “potential answer”.

  • “potential answer” is that the rows are all calculated and stored “up front” so that scrolling down/then back up doesn’t affect it. However, when cells go “out of view” and are dequeued then when they re-viewed (scroll down/then back up) it will rely on the storyboard.(inappropriately?)
  • 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-15T14:47:05+00:00Added an answer on June 15, 2026 at 2:47 pm

    “ANSWERED” by deleting the prototype cell from the storyboard and making them fully in code, the issue went away. The fundamental workings are still not understood (ie. the interactions between storyboard vs. code when cells are put queued and then viewed again)

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

Sidebar

Related Questions

I'm building a Rails app that needs to connect to a custom TCP data
I'm building an app that pulls data from a remote server and stores them
I am building a web app that imports data from data feeds in php/mysql.
I'm building an app that periodically retrieves data from a website using a recurring
Some context: I'm building a Django App that allows a user to pre-save an
I'm building some custom content types to capture customer data on a website. Admins
I building a console app that runs under a normal user account to access
I am building an Android app that uses wifi. I have properly declared these
I'm building C#/.Net 3.5 app using three layers: UI (view/view models), service, and data
I am building a .NET MVC app that has a page with a list

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.