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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:08:51+00:00 2026-05-14T15:08:51+00:00

For some strange reason, UITableView resizes my cells to 320 width no matter how

  • 0

For some strange reason, UITableView resizes my cells to 320 width no matter how I set the frame for the UITableView object.

Even if I go in later and resize the cell back to 250, UITableView seems to resize it again to 320 some time.

Is there some property or method that must be set / called additionally to get that right?

However, I can add my contents in a way that it looks like 250 width, but my whole layouting code is a big mess since I can’t rely on the cell frame width which is “wrong”. Also it seems like a big waste of memory since the bitmaps in the layer trees are nonsenseless 320 width instead of 250, even though the frame of the UITableView is not 320 width.

  • 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-14T15:08:52+00:00Added an answer on May 14, 2026 at 3:08 pm

    Try this:

    MyTable = [[UITableView alloc] initWithFrame:CGRectMake(0.0, 5.0, 220.0, 385.0) style:UITableViewStyleGrouped];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

well for some strange reason IE gives me and InvalidAuthenticityToken error almost every time
I'm passing two strings between two activities and for some strange reason, the strings
For some strange reason, my text-align: center; isn't working. It's weird 'cause it's the
For some strange reason, the \n and \r escape sequences do not seem to
For some strange reason, in iPhone OS 3.0 this doesn't work: I made a
For some strange reason, an alert dialog with the text title Message From Web
For some strange reason, I need to call the operator->() method directly. For example:
For some strange reason my Silverlight 4 application isn't loading in Internet Explorer. I
I have a ListView inside a FormView that, for some strange reason, doesn't fire
For some strange reason Comic Sans disappeared from my list of available fonts. The

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.