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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:52:09+00:00 2026-05-26T03:52:09+00:00

I am experiencing a problem where in my UITableViewController, the last row is always

  • 0

I am experiencing a problem where in my UITableViewController, the last row is always cutoff by half.

If I have 20 rows, the 20th will be cut off; if I have 30, the 30th will be cut off.

I tried to resize the contentSize, and the frame of the UITableViewController, but it doesn’t work.

Is there a way to resize the UITableViewController to the correct size?

Thanks in advance.

Some Code:

Initialize it in another class:

 settingsTable = [[SettingTableViewController alloc] init];
    settingsTable.view.frame = CGRectMake(0, 0, 320, 480);
    [self.view addSubview:settingsTable.view];

in the UITableViewController:

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return [settingsData count];
}

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
{
return [[settingsData objectForKey:[NSString stringWithFormat:@"%d", section]] objectAtIndex:0];
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return [[[settingsData objectForKey:[NSString stringWithFormat:@"%d", section]] objectAtIndex:1] intValue];
}

I didn’t resize the frame anywhere in the UITableViewController

  • 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-26T03:52:10+00:00Added an answer on May 26, 2026 at 3:52 am

    In the interface builder, select the UITableView and then under the View options remove the bottom autoresizing bar. You can leave all the others the way they are if they are different from the screenshots below. The important one is the bottom vertical bar.

    Change this:

    Before

    To this:

    After

    Or, to do it programmatically:

    settingsTable.autoresizingMask &= ~UIViewAutoresizingFlexibleBottomMargin;
    

    Edit (from comments):

    Is your status bar set to showing or hidden? If it is showing then change the frame line to:

    settingsTable.view.frame = CGRectMake(0, 0, 320, 460);
    

    Or, try either one of these and see if they help:

    settingsTable.view.frame = self.view.bounds;
    // or
    settingsTable.view.frame = self.view.frame;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows Server 2003 64-Bit VPS, and I'm experiencing a problem with
I am experiencing a problem with generics in a CircularLinkedList. I have my CircularLinkedList
I've been experiencing a problem with a socketserver I wrote where the socketserver will
I'm experiencing a problem with MySQL's GROUP_CONCAT function. I will illustrate my problem using
I'm a bit newbie to Flash, and I'm experiencing strange problem. I have a
I have just started experiencing this problem: The site is fine until I add
I'm experiencing problem with Pretty Faces URL mappings. I have one managed bean with
I have been experiencing a problem with tortoise . when i checked out the
I'm experiencing this problem: I want to add the Google Maps API to my
I am experiencing a problem with the following code in some versions of Internet

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.