Default height for section header in UITableView

后端 未结 8 1997
无人共我
无人共我 2020-12-07 12:55

I want to set the height of the first header in my UITableView. For the other headers I want them to remain the default height. What value/constant can I put in place of \"s

相关标签:
8条回答
  • 2020-12-07 13:40

    For the sake of completeness: in iOS7+ the height for grouped style section headers is 55.5 for the first and 38 for following headers. (measured with DCIntrospect)

    0 讨论(0)
  • 2020-12-07 13:41

    I'm not sure what the correct answer is here, but neither 10 or 22 appears to be the correct height for a grouped table view in iOS 5. I'm using 44, based on this question, and it at least appears to roughly the correct height.

    0 讨论(0)
提交回复
热议问题