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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:15:34+00:00 2026-05-23T21:15:34+00:00

I have the following: I would like to make it so that the tableview

  • 0

I have the following:

http://i.imgur.com/0nDcS.png

I would like to make it so that the tableview stops right at the “So” cell, instead of having all the blank cells under it (the big plan is to have a bunch of multiple choice questions like the one in that pic, all on top of one another on one scrollview). I’m guessing I need to set the tableView’s frame, but I was wondering if there was an easy way to calculate at runtime the exact height of the portion of the tableview where the cells are implemented (the ones with text in the pic). It’s tricky because I made it so that each cell’s height can change to accommodate the amount of text in it. Anyone have any advice?

  • 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-23T21:15:34+00:00Added an answer on May 23, 2026 at 9:15 pm

    There are two appproaches you can take.

    Best and easiest.
    1. Add a footer view to the table so it will not draw the rows after the last row. a blank footer view will do.

           //Add empty view to hide trailing row seperators
    UIView *emptyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 0)];
    emptyView.backgroundColor = [UIColor whiteColor];
    [tableView setTableFooterView:emptyView];
    [emptyView release];
    

    2.Check how many rows you have in the tableview and calculate the tableheight and change the frame of table view.

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

Sidebar

Related Questions

I have following method that I would like to make shorter or faster if
I have the following LINQ that I would like to also order by file
I have the following class that's used by my MVC3 application. I would like
I have the following: @Html.ActionLink(Register, Register, Users) I would like to make the link
I have the following piece of code: NameX.functionA(functionB(Dictionary[___])) Instead of _ I would like
I would like to make my own user-mode NAT application. I have the folowing
I have the following table and would like to replace the string text of
I have the following 2 arrays and would like to combine them. I'm more
I have the following issue and I would like to know what exactly happens.
I have the following C# method: private string[] test() { } I would like

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.