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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:21:30+00:00 2026-06-15T15:21:30+00:00

Note: It’s obvious that the width is 300. I am not entirely sure because

  • 0

Note: It’s obvious that the width is 300. I am not entirely sure because after I give a cell with 300 width, the cell is resized to 320. The reason I asked is because in one case I give 300 and in another I give 320 and both works fine. I wonder if there is an official way.

I am not asking what the width of the cell for grouped cell. I am asking what’s the width of the cell that I should supply. I sometimes send 300 width cells and 320 cells without problem.

I use xib and subclass the UITableViewCell. Has done it multiple times. It works. I am just curious if there is just some official documentation that when groupped you need to return tableViewCell that’s 20 points narrower than UITableViewCell, because I am not seeing that anywhere.

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    NSUInteger row = [indexPath row];

    NearbyShortcutTableViewCell * cell;

    if([self.arrayOfItems[row] isNotEmpty]){
        cell=(NearbyShortcutTableViewCell *)self.arrayOfItems[row];
    }
    PO(cell);
    PO(cell.superview);
    PO(cell.superview.superview);
    return cell;
}


cell.superview.superview: (null)
     cell: <NearbyShortcutTableViewCell: 0x89a8300; baseClass = UITableViewCell;
 frame = (0 0; 300 50); layer = <CALayer: 0x89a8420>>
     cell.superview: (null)
     cell.superview.superview: (null)
     cell: <NearbyShortcutTableViewCell: 0x89a9030; baseClass = UITableViewCell; frame = (0 0; 300 50); layer = <CALayer: 0x89f3d60>>
     cell.superview: (null)
     cell.superview.superview: (null)
     cell: <NearbyShortcutTableViewCell: 0x8bbf5e0; baseClass = UITableViewCell; frame = (0 754; 320 50); autoresize = W; layer = <CALayer: 0x8bbf700>>
     cell.superview: (null)
     cell.superview.superview: (null)
     cell: <NearbyShortcutTableViewCell: 0x8bb48b0; baseClass = UITableViewCell; frame = (0 704; 320 50); autoresize = W; layer = <CALayer: 0x8bbe6d0>>
     cell.superview: (null)
     cell.superview.superview: (null)
     cell: <NearbyShortcutTableViewCell: 0x8bb4050; baseClass = UITableViewCell; 
frame = (0 654; 320 50); autoresize = W; layer = <CALayer: 0x8bbe2c0>>

So in the beginning I provide a 300 width cell. Somehow it got resized into 320. However, everything remains “fine”

Actually should I provide a 300 width cell or a 320 width cell anyway?

It seems that no matter the size of the cell that I provide, the cell itself will be resized to the width of the tableViewCell. I just don’t want to handle the subviews layouting when size is resized.

  • 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-15T15:21:31+00:00Added an answer on June 15, 2026 at 3:21 pm

    The standard size for a Plain UITableVIewCell is 320 x 44 where as a Grouped cell is about 300 x 44 (with a border on either side of 10). You can change this to whatever you want as it all depends on the content and preference of you the developer on how you want to present your views.

    Typically, if you are n’t doing anything fancy with the tableView, (i.e its going to fill the whole screen), you can just skip sizing the cells or table altogether.

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

Sidebar

Related Questions

Note, this is not a duplicate of .prop() vs .attr() ; that question refers
Note: Not sure if this is the right stack, please tell if I should
Note that I am not asking which to choose (MVC or MVP), but rather
Note: A closure cannot call any user-defined function, because the function's context is not
(Note: This is not a question about what is the best way with code
Note: I am not asking how to use Google Code's SVN repo as a
NOTE: This is a followup to my question here. I have a program that
Note: I understand this is not strictly about development, but in the earlier threads
Note: I know that elem {height: 90%} exists. What I need: an element to
Note my wordpress version is 3.3.1 some hooks and function is not the same

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.