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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:14:47+00:00 2026-05-27T17:14:47+00:00

I have a view. It is structured like this: -View -Scroll view -TableView -TableView

  • 0

I have a view. It is structured like this:

-View
-Scroll view
-TableView
-TableView Cell

I cannot resize the table and cannot set cell’s heights. The cell contents are dynamic text from json. I can get their lengths but I have a problem with referencing the table and the cells. In my header I have this:

@interface ListingDetailController : UIViewController <UITableViewDelegate,UITableViewDataSource> {

In IB, the tableview’s datasource is the Rootview, and delegated from scrollview, which itself is a delegate of the view.

I want to use the following code for example:

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    CGSize size = [[rows4 objectAtIndex:indexPath.row]
                   sizeWithFont:[UIFont systemFontOfSize:14]
                   constrainedToSize:CGSizeMake(300, CGFLOAT_MAX)];
    return size.height + 10;
}

But it doesn’t affect my table at all. Nothing changes. I can’t event create the table programmatically, because it is inside a scrollview so I cannot create it with coords. If I do it goes outside the scrollview.

Would anyone recommend a way to handle this?

  • 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-27T17:14:48+00:00Added an answer on May 27, 2026 at 5:14 pm

    You can create scroll view and tableview by programmatically. Just you have to add your tableview into scrollview. just you have to set the coordinate according to scrollview.

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

Sidebar

Related Questions

I have a problem with my custom cells. My cell is structured like this
I have an HTML item for a 'drop down menu', structured like this... <li
I have TabBar View combined with Navigation View. Structure like this: delegate -> TabBar
I have a html structure like : <div onmouseover=enable_dropdown(1); onmouseout=disable_dropdown(1);> My Groups <a href=#>(view
i have view like 'home/details/5', it can be access by anonymous user. but there
I have view controller, into the view i have put a table view, and
I have a view user control that can post form. This control can be
If I have an xml structure like this <root> <sub> <node /> <node />
My application is structured like this: There is a Sidebar which contains many items
I have view that contains a table with the following structure: <table id=mappings> <thead>

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.