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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:40:49+00:00 2026-06-11T20:40:49+00:00

What are the default cell, section header, and section footer dimensions (width, height, left/right

  • 0

What are the default cell, section header, and section footer dimensions (width, height, left/right margin, top/bottom margin) for a UITableView in the grouped style?

I already know:

  • Cell height: 44px, same as always
  • Section header height: 22px (from this answer) – myTableView.sectionHeaderHeight returns 10, but I can tell that’s not right by looking at it when I set section titles.

My reason for asking is that I need to compute the expected total height of a grouped-style UITableView for returning from contentSizeForViewInPopover. But if I’m asking for the heights, I might as well ask for the widths for future reference.

  • 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-11T20:40:50+00:00Added an answer on June 11, 2026 at 8:40 pm

    doesn’t storyboard tell you the section header’s and footer’s height? It does tell me based on the screenshot below:

    Section header and footer height when Cell set to **GROUPED**

    Fig 1: Section header and footer height when Cell set to GROUPED

    Section header and footer height when Cell set to **PLAIN**

    Fig 2: Section header and footer height when Cell set to PLAIN

    The section width depends on your application coding. If you are using the UITableViewController, then the width would be the screen size (depending on iPhone/iPad). If you are having a UITableView within a UIView, then your width would be as you sized it.

    Also, the cell height (44) you mentioned is it’s default settings. If you are using custom cell, then each cell height could change.

    With regard to the cell width, some guy measured it and posted it on his blog. However, if you want to have custom width, then this post on SO will be helpful: How to set the width of a cell in a UITableView in grouped style

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

Sidebar

Related Questions

i have a UITableView where i want one cell(database row) needs to be default,
I am trying to default the top cell in my table view to be
I'm using a UITableView grouped to display my application preferences. I get the cell
I have an issue with DataGridView. The default cell style has some margin or
I need to style the default delete button on a tableview cell in objective
I have been using the default colors Grey and Blue for cell selection, but
I have a UITableViewController that displays cells that are just default. Each cell can
When a JTable component is created, cell editing is enabled by default. How can
This is something I don't understand. Look at this method (copied from http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/ )
I have a grouped UITableView with 3 sections: 2 of the 3 are constants

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.